com.bonevich.erj.ui.editor
Class ForeignKeyEditor

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

public final class ForeignKeyEditor
extends ModelEditor

A model editor for attributes.

See Also:
Attribute, ModelEditor

Field Summary
static java.lang.String CARDINALITY_STR
           
static java.lang.String NAME_EDIT_FOREIGNKEY
           
 
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
ForeignKeyEditor(javax.swing.JTabbedPane parent, ForeignKey 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

CARDINALITY_STR

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

NAME_EDIT_FOREIGNKEY

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

ForeignKeyEditor

public ForeignKeyEditor(javax.swing.JTabbedPane parent,
                        ForeignKey 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.