vanted.attribute
Class AbstractAttributeEditor

java.lang.Object
  extended by org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
      extended by org.graffiti.plugin.editcomponent.AbstractValueEditComponent
          extended by vanted.attribute.AbstractAttributeEditor
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, javax.swing.event.ChangeListener, org.graffiti.event.AttributeListener, org.graffiti.event.EdgeListener, org.graffiti.event.GraphListener, org.graffiti.event.NodeListener, org.graffiti.event.TransactionListener, org.graffiti.plugin.editcomponent.ValueEditComponent
Direct Known Subclasses:
AbstractAttributeContinuousEditor

public abstract class AbstractAttributeEditor
extends org.graffiti.plugin.editcomponent.AbstractValueEditComponent
implements java.awt.event.ActionListener, javax.swing.event.ChangeListener

The Class AbstractAttributeEditor handles the abstract attribute editor.

Author:
Kevin Pucknat

Field Summary
 
Fields inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
showEmpty
 
Fields inherited from interface org.graffiti.plugin.editcomponent.ValueEditComponent
EMPTY_STRING
 
Constructor Summary
AbstractAttributeEditor(org.graffiti.plugin.Displayable disp)
          Instantiates a new abstract attribute editor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 javax.swing.JComponent getComponent()
           
 void setDisplayable(org.graffiti.plugin.Displayable disp)
          Sets the displayable.
 void setShowEmpty(boolean showEmpty)
           
 
Methods inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
getDisplayable, getShowEmpty, isEnabled, postAttributeChanged, preAttributeChanged, setEnabled
 
Methods inherited from class org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
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, setParameter, setValue, transactionFinished, transactionStarted
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.event.ChangeListener
stateChanged
 
Methods inherited from interface org.graffiti.plugin.editcomponent.ValueEditComponent
setEditFieldValue, setValue
 

Constructor Detail

AbstractAttributeEditor

public AbstractAttributeEditor(org.graffiti.plugin.Displayable disp)
Instantiates a new abstract attribute editor.

Parameters:
disp - the disp
Method Detail

getComponent

public javax.swing.JComponent getComponent()
Specified by:
getComponent in interface org.graffiti.plugin.editcomponent.ValueEditComponent

setShowEmpty

public void setShowEmpty(boolean showEmpty)
Specified by:
setShowEmpty in interface org.graffiti.plugin.editcomponent.ValueEditComponent
Overrides:
setShowEmpty in class org.graffiti.plugin.editcomponent.AbstractValueEditComponent

setDisplayable

public void setDisplayable(org.graffiti.plugin.Displayable disp)
Sets the displayable.

Specified by:
setDisplayable in interface org.graffiti.plugin.editcomponent.ValueEditComponent
Overrides:
setDisplayable in class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
Parameters:
disp - the new displayable

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener