com.bonevich.erj.ui.editor
Class KeyEditor

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

public final class KeyEditor
extends ModelEditor

A model editor for attributes.

See Also:
Attribute, ModelEditor

Field Summary
static java.lang.String ATTR_STR
           
static java.lang.String CONSTRAINT_STR
           
static java.lang.String PRIMARYKEY_STR
           
static java.lang.String UNIQUEKEY_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
KeyEditor(javax.swing.JTabbedPane parent, Relation relation, KeyConstraint key)
           
 
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

CONSTRAINT_STR

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

UNIQUEKEY_STR

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

PRIMARYKEY_STR

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

ATTR_STR

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

KeyEditor

public KeyEditor(javax.swing.JTabbedPane parent,
                 Relation relation,
                 KeyConstraint key)
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.