Class InPlaceEditHandler
java.lang.Object
com.inductiveautomation.vision.api.designer.beans.InPlaceEditHandler
- All Implemented Interfaces:
DoubleClickHandler
A double-click handler that implements in-place editing for components that want text editability.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JTextFieldcreateField(JComponent component) protected FontgetFont(JComponent component) protected abstract intgetHorizontalAlignment(JComponent component) protected InsetsgetInsets(JComponent component) protected Stringprotected abstract StringgetText(JComponent component) protected booleanisPropertyBound(JComponent component) voidonDoubleClick(JComponent component, WindowWorkspace workspace) protected abstract voidsetText(JComponent component, String text)
-
Constructor Details
-
InPlaceEditHandler
public InPlaceEditHandler()
-
-
Method Details
-
onDoubleClick
- Specified by:
onDoubleClickin interfaceDoubleClickHandler
-
isPropertyBound
-
getPropertyName
-
createField
-
getFont
-
getInsets
-
getHorizontalAlignment
-
getText
-
setText
-