com.bonevich.erj.ui.editor
Class AttributeEditor

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

public final class AttributeEditor
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 DOMAIN_STR
           
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
AttributeEditor(javax.swing.JTabbedPane parent, Relation relation, Attribute attribute)
           
 
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

DOMAIN_STR

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

AttributeEditor

public AttributeEditor(javax.swing.JTabbedPane parent,
                       Relation relation,
                       Attribute attribute)
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.