org.graffiti.plugin.editcomponent
Class AbstractDialogableEditComponent

java.lang.Object
  extended by org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
      extended by org.graffiti.plugin.editcomponent.AbstractValueEditComponent
          extended by org.graffiti.plugin.editcomponent.AbstractDialogableEditComponent
All Implemented Interfaces:
EventListener, AttributeListener, EdgeListener, GraphListener, NodeListener, TransactionListener, ValueEditComponent

public abstract class AbstractDialogableEditComponent
extends AbstractValueEditComponent

AbstractDialogableEditComponent provides some default extensions of the AbstractValueEditComponent for those instances of ValueEditComponent which offer an arbitrary dialog for specifying the corresponding attribute value.

See Also:
JButton, JDialog

Field Summary
protected  JButton button
          The button for opening the dialog.
protected  JDialog dialog
          The dialog for specifying the value.
 
Fields inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
editField, showEmpty
 
Fields inherited from class org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
displayable, displayables
 
Fields inherited from interface org.graffiti.plugin.editcomponent.ValueEditComponent
EMPTY_STRING
 
Constructor Summary
protected AbstractDialogableEditComponent(Displayable<?> disp)
          Constructs a new AbstractDialogableEditComponent.
 
Method Summary
 JButton getButton()
          Returns the button of the AbstractDialogableEditComponent.
 JDialog getDialog()
          Returns the dialog of this AbstractDialogableEditComponent.
 
Methods inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
addVECChangeListener, fireVECChanged, fireVECChanged, getDisplayable, getDisplayables, getShowEmpty, isEnabled, postAttributeChanged, preAttributeChanged, removeVECChangeListener, setDispEditFieldValue, setDisplayable, setDisplayables, setDispValue, setEditFieldValue, setEnabled, setShowEmpty, setValue
 
Methods inherited from class org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
getErrorMessageOfInvalidParameter, isValid, postAttributeAdded, postAttributeRemoved, postDirectedChanged, postEdgeAdded, postEdgeRemoved, postEdgeReversed, postGraphCleared, postInEdgeAdded, postInEdgeRemoved, postNodeAdded, postNodeRemoved, postOutEdgeAdded, postOutEdgeRemoved, postSourceNodeChanged, postTargetNodeChanged, postUndirectedEdgeAdded, postUndirectedEdgeRemoved, preAttributeAdded, preAttributeRemoved, preDirectedChanged, preEdgeAdded, preEdgeRemoved, preEdgeReversed, preGraphCleared, preInEdgeAdded, preInEdgeRemoved, preNodeAdded, preNodeRemoved, preOutEdgeAdded, preOutEdgeRemoved, preSourceNodeChanged, preTargetNodeChanged, preUndirectedEdgeAdded, preUndirectedEdgeRemoved, transactionFinished, transactionStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.graffiti.plugin.editcomponent.ValueEditComponent
getComponent
 

Field Detail

button

protected JButton button
The button for opening the dialog.


dialog

protected JDialog dialog
The dialog for specifying the value.

Constructor Detail

AbstractDialogableEditComponent

protected AbstractDialogableEditComponent(Displayable<?> disp)
Constructs a new AbstractDialogableEditComponent.

Parameters:
disp - DOCUMENT ME!
Method Detail

getButton

public JButton getButton()
Returns the button of the AbstractDialogableEditComponent.

Returns:
the button of the AbstractDialogableEditComponent.

getDialog

public JDialog getDialog()
Returns the dialog of this AbstractDialogableEditComponent.

Returns:
the dialog of this AbstractDialogableEditComponent.


Generated at 2012-05-30 11:00:36 PM CEST