org.graffiti.plugin.editcomponent
Class GraphComponentEditComponent

java.lang.Object
  extended by org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
      extended by org.graffiti.plugin.editcomponent.AbstractValueEditComponent
          extended by org.graffiti.plugin.editcomponent.GraphComponentEditComponent
All Implemented Interfaces:
EventListener, AttributeListener, EdgeListener, GraphListener, NodeListener, TransactionListener, ValueEditComponent
Direct Known Subclasses:
SelectionEditComponent, SingleGraphElementEditComponent

public abstract class GraphComponentEditComponent
extends AbstractValueEditComponent

This class provides an edit component for parts of a graph.

See Also:
SingleGraphElementEditComponent, SelectionEditComponent

Field Summary
 
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 GraphComponentEditComponent(Displayable<?> disp)
          Constructs a new GraphElementEditComponent.
 
Method Summary
 void postAttributeAdded(AttributeEvent e)
          Called after an attribute as been added.
 void postAttributeChanged(AttributeEvent e)
          Called after a change of an attribute took place.
 void postAttributeRemoved(AttributeEvent e)
          Called just before an attribute is removed.
 void preAttributeAdded(AttributeEvent e)
          Called just before an attribute is added.
 void preAttributeChanged(AttributeEvent e)
          Called before a change of an attribute takes place.
 void preAttributeRemoved(AttributeEvent e)
          Called just before an attribute is removed.
abstract  void setGraphComponent()
          Sets the graph component selectable by this edit component.
 void transactionFinished(TransactionEvent t)
          Called if a transaction got finished.
 void transactionStarted(TransactionEvent t)
          Called if a transaction got started.
 
Methods inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
addVECChangeListener, fireVECChanged, fireVECChanged, getDisplayable, getDisplayables, getShowEmpty, isEnabled, removeVECChangeListener, setDispEditFieldValue, setDisplayable, setDisplayables, setDispValue, setEditFieldValue, setEnabled, setShowEmpty, setValue
 
Methods inherited from class org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
getErrorMessageOfInvalidParameter, isValid, postDirectedChanged, postEdgeAdded, postEdgeRemoved, postEdgeReversed, postGraphCleared, postInEdgeAdded, postInEdgeRemoved, postNodeAdded, postNodeRemoved, postOutEdgeAdded, postOutEdgeRemoved, postSourceNodeChanged, postTargetNodeChanged, postUndirectedEdgeAdded, postUndirectedEdgeRemoved, preDirectedChanged, preEdgeAdded, preEdgeRemoved, preEdgeReversed, preGraphCleared, preInEdgeAdded, preInEdgeRemoved, preNodeAdded, preNodeRemoved, preOutEdgeAdded, preOutEdgeRemoved, preSourceNodeChanged, preTargetNodeChanged, preUndirectedEdgeAdded, preUndirectedEdgeRemoved
 
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
 

Constructor Detail

GraphComponentEditComponent

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

Parameters:
disp - DOCUMENT ME!
Method Detail

setGraphComponent

public abstract void setGraphComponent()
Sets the graph component selectable by this edit component.


postAttributeAdded

public void postAttributeAdded(AttributeEvent e)
Called after an attribute as been added.

Specified by:
postAttributeAdded in interface AttributeListener
Overrides:
postAttributeAdded in class ValueEditComponentAdapter
Parameters:
e - the AttributeEvent detailing changes.

postAttributeChanged

public void postAttributeChanged(AttributeEvent e)
Called after a change of an attribute took place.

Specified by:
postAttributeChanged in interface AttributeListener
Overrides:
postAttributeChanged in class AbstractValueEditComponent
Parameters:
e - the AttributeEvent detailing the changes.

postAttributeRemoved

public void postAttributeRemoved(AttributeEvent e)
Called just before an attribute is removed.

Specified by:
postAttributeRemoved in interface AttributeListener
Overrides:
postAttributeRemoved in class ValueEditComponentAdapter
Parameters:
e - the AttributeEvent detailing the changes.

preAttributeAdded

public void preAttributeAdded(AttributeEvent e)
Called just before an attribute is added.

Specified by:
preAttributeAdded in interface AttributeListener
Overrides:
preAttributeAdded in class ValueEditComponentAdapter
Parameters:
e - the AttributeEvent detailing the changes.

preAttributeChanged

public void preAttributeChanged(AttributeEvent e)
Called before a change of an attribute takes place.

Specified by:
preAttributeChanged in interface AttributeListener
Overrides:
preAttributeChanged in class AbstractValueEditComponent
Parameters:
e - the AttributeEvent detailing the changes.

preAttributeRemoved

public void preAttributeRemoved(AttributeEvent e)
Called just before an attribute is removed.

Specified by:
preAttributeRemoved in interface AttributeListener
Overrides:
preAttributeRemoved in class ValueEditComponentAdapter
Parameters:
e - the AttributeEvent detailing the changes.

transactionFinished

public void transactionFinished(TransactionEvent t)
Called if a transaction got finished.

Specified by:
transactionFinished in interface TransactionListener
Overrides:
transactionFinished in class ValueEditComponentAdapter
Parameters:
t - the transaction event.

transactionStarted

public void transactionStarted(TransactionEvent t)
Called if a transaction got started.

Specified by:
transactionStarted in interface TransactionListener
Overrides:
transactionStarted in class ValueEditComponentAdapter
Parameters:
t - the transaction event.


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