|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.swing.inplaceediting.SwingInplaceEditorProvider
A Swing based implementation of the
InplaceEditorProvider interface.
InplaceEditorProvider
| Constructor Summary | |
SwingInplaceEditorProvider()
Empty default constructor |
|
| Method Summary | |
InplaceEditor |
getComboEditor(Label2D label,
BaseComposite bComposite,
GraphPanel gPanel,
Attribute attr)
Returns the InplaceEditor for editing a label's
constraint. |
InplaceEditor |
getLabelEditor(Label2D label,
BaseComposite bComposite,
GraphPanel gPanel,
CompositeTable table)
Returns the InplaceEditor for editing labels. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SwingInplaceEditorProvider()
| Method Detail |
public InplaceEditor getComboEditor(Label2D label,
BaseComposite bComposite,
GraphPanel gPanel,
Attribute attr)
InplaceEditorProviderInplaceEditor for editing a label's
constraint. To get the visual representation, i.e. usually a
Swing or SWT based Combo,
use InplaceEditor#getControl().
getComboEditor in interface InplaceEditorProviderlabel - Primitive to apply inplace editing tobComposite - Composite to apply inplace editing togPanel - contains the underlying element which requests inplace
editingattr - Attribute that holds the constraints
InplaceEditor instance for constraint editing
public InplaceEditor getLabelEditor(Label2D label,
BaseComposite bComposite,
GraphPanel gPanel,
CompositeTable table)
InplaceEditorProviderInplaceEditor for editing labels. To get the
visual representation, i.e. usually a Swing or
SWT based TextArea, use
InplaceEditor#getControl().
getLabelEditor in interface InplaceEditorProviderlabel - Primitive to apply inplace editing tobComposite - Composite to apply inplace editing togPanel - contains the underlying element which requests inplace
editingtable - The composite table containing the label or null
InplaceEditor instance for editing labels
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||