com.bonevich.erj.ui.editor
Class DomainEditor

java.lang.Object
  |
  +--com.bonevich.erj.ui.editor.ModelEditor
        |
        +--com.bonevich.erj.ui.editor.DomainEditor
All Implemented Interfaces:
ErjConstants

public final class DomainEditor
extends ModelEditor

A model editor for attributes.

See Also:
Attribute, ModelEditor

Field Summary
static java.lang.String CONSTRAINT_STR
           
static java.lang.String DEFAULT_VALUE_STR
           
static java.lang.String NAME_EDIT_DOMAIN
           
static AttributeConstraint NOTNULL_CONSTRAINT
           
static java.lang.String TYPE_STR
           
 
Fields inherited from class com.bonevich.erj.ui.editor.ModelEditor
_descBrdr, _descPane, _descText, _identifierLabel, _identifierPane, _identifierText, _nameLabel, _namePane, _nameText, _propPane, DESC_STR, IDENTIFIER_STR, NAME_STR
 
Fields inherited from interface com.bonevich.erj.ErjConstants
EDITOR_COLOR, EDITOR_FONT, EMPTY_STR, ICON_AK, ICON_DOMAIN, ICON_FK, ICON_FOREIGNKEY, ICON_NOTNULL, ICON_NULL, ICON_PK, ICON_RELATION, ICON_SCHEMA, ICON_SPLASH, INITIAL_FRAME_SIZE, LABEL_COLOR, LABEL_FILL, LABEL_FONT, LABEL_FONT_ITALIC, LABEL_FONT_SIZE, LABEL_FONTMETRICS, STATUSBAR_COLOR, STATUSBAR_FONT, STATUSBAR_FONT_ITALIC, STATUSBAR_MOD_FILL, SUBLABEL_FILL
 
Constructor Summary
DomainEditor(javax.swing.JTabbedPane parent, Schema schema, Domain domain)
           
 
Method Summary
protected  void initTabs()
           
 void updateEditor()
           
 void updateModel()
           
 boolean validate()
           
 
Methods inherited from class com.bonevich.erj.ui.editor.ModelEditor
addTab, getOwner, getParent, getWindow, ownerUpdated, setDefaultIcon, setDefaultIndex, setDefaultLabel, setDefaultTip, setOwner, setParent, setWindow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_STR

public static final java.lang.String TYPE_STR
See Also:
Constant Field Values

CONSTRAINT_STR

public static final java.lang.String CONSTRAINT_STR
See Also:
Constant Field Values

DEFAULT_VALUE_STR

public static final java.lang.String DEFAULT_VALUE_STR
See Also:
Constant Field Values

NOTNULL_CONSTRAINT

public static final AttributeConstraint NOTNULL_CONSTRAINT

NAME_EDIT_DOMAIN

public static final java.lang.String NAME_EDIT_DOMAIN
See Also:
Constant Field Values
Constructor Detail

DomainEditor

public DomainEditor(javax.swing.JTabbedPane parent,
                    Schema schema,
                    Domain domain)
Method Detail

initTabs

protected void initTabs()
Overrides:
initTabs in class ModelEditor

validate

public boolean validate()
Specified by:
validate in class ModelEditor

updateModel

public void updateModel()
Specified by:
updateModel in class ModelEditor

updateEditor

public void updateEditor()
Specified by:
updateEditor in class ModelEditor


Copyright © 2001-2003 bonevich.com. All Rights Reserved.