Class ThicknessAttributeEditor
java.lang.Object
org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
org.graffiti.plugin.editcomponent.AbstractValueEditComponent
org.graffiti.plugins.views.defaults.ThicknessAttributeEditor
- All Implemented Interfaces:
EventListener,AttributeListener,EdgeListener,GraphListener,NodeListener,TransactionListener,ValueEditComponent
public class ThicknessAttributeEditor extends AbstractValueEditComponent
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThicknessAttributeEditor.ArrowHeadModes -
Field Summary
Fields inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
showEmptyFields inherited from interface org.graffiti.plugin.editcomponent.ValueEditComponent
EMPTY_STRING -
Constructor Summary
Constructors Constructor Description ThicknessAttributeEditor(Displayable disp) -
Method Summary
Modifier and Type Method Description JComponentgetComponent()Returns theValueEditComponent'sJComponent.voidsetEditFieldValue()Sets the current value of theDisplayablein the correspondingJComponent.voidsetValue()Sets the value of theDisplayablespecified in theJComponent.Methods inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
getDisplayable, getShowEmpty, isEnabled, postAttributeChanged, preAttributeChanged, setDisplayable, setEnabled, setShowEmptyMethods 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
-
Constructor Details
-
ThicknessAttributeEditor
-
-
Method Details
-
getComponent
Description copied from interface:ValueEditComponentReturns theValueEditComponent'sJComponent.- Returns:
- the
ValueEditComponent'sJComponent.
-
setEditFieldValue
public void setEditFieldValue()Description copied from interface:ValueEditComponentSets the current value of theDisplayablein the correspondingJComponent. IfshowEmptyis set to true, this component should instead show only empty fields. -
setValue
public void setValue()Description copied from interface:ValueEditComponentSets the value of theDisplayablespecified in theJComponent. Should only change the value if the value is really different otherwise too many events will be sent.
-