Package com.inductiveautomation.rm.tool
Class RMDoubleStrokeTool
java.lang.Object
com.inductiveautomation.snap.ui.UIOwner<SwingEvent,JComponent>
com.inductiveautomation.snap.swing.SwingOwner
com.inductiveautomation.rm.tool.RMFillTool
com.inductiveautomation.rm.tool.RMStrokeTool
com.inductiveautomation.rm.tool.RMDoubleStrokeTool
Swing UI editing for RMDoubleStroke.
-
Field Summary
Fields inherited from class com.inductiveautomation.snap.ui.UIOwner
DragDrop, DragEnter, DragEvents, DragExit, DragOver, KeyEvents, KeyFinished, KeyPressed, KeyReleased, KeyTyped, MouseClicked, MouseDragged, MouseEntered, MouseEvents, MouseExited, MouseFinished, MouseMoved, MousePressed, MouseReleased
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the RuleComboBox index for the given stroke.getRuleComboBoxStroke
(int anIndex, RMDoubleStroke aBaseStroke) Returns the RuleComboBox adjusted stroke for the given combobox index and an original base stroke.protected void
initUI()
Initialize UI panel.void
resetUI()
Called by Ribs to reset UI controls.void
respondUI
(SwingEvent anEvent) Called by Ribs to respond to UI controlsMethods inherited from class com.inductiveautomation.rm.tool.RMStrokeTool
getStrokes, processResetUI
Methods inherited from class com.inductiveautomation.rm.tool.RMFillTool
getEditor, getFill, getFillCount, getSelectedFill, getSelectedStroke, getStroke, getStrokeCount, getTool, getTool, setSelectedFill, setSelectedStroke
Methods inherited from class com.inductiveautomation.snap.swing.SwingOwner
addKeyActionEvent, createTimer, createUI, createUI, createWindow, getNode, getNode, getNodeHelper, getTimer, getTimer, getUI, getWindow, isEventThread, isWindowVisible, requestFocus, requestFocusImpl, runLater, sendEvent, setWindowVisible
Methods inherited from class com.inductiveautomation.snap.ui.UIOwner
addNodeBinding, disableEvents, enableEvents, getBindingModelValue, getBindingNodeValue, getConversionMap, getConversionMapKey, getConversionMaps, getConversionMapValue, getFirstFocus, getModelValue, getNode, getNodeAction, getNodeBoolValue, getNodeFloatValue, getNodeIntValue, getNodeItemDisplayKey, getNodeItems, getNodeSelectedIndex, getNodeSelectedItem, getNodeStringValue, getNodeText, getNodeValue, getUI, getUIHpr, initUI, isNodeEnabled, isNodeValueAdjusting, isSendEventDisabled, isUISet, processRespondUI, resetLater, resetNodeBindings, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
-
Constructor Details
-
RMDoubleStrokeTool
public RMDoubleStrokeTool()
-
-
Method Details
-
initUI
protected void initUI()Initialize UI panel.- Overrides:
initUI
in classUIOwner<SwingEvent,
JComponent>
-
resetUI
public void resetUI()Called by Ribs to reset UI controls.- Overrides:
resetUI
in classRMFillTool
-
respondUI
Called by Ribs to respond to UI controls- Overrides:
respondUI
in classRMStrokeTool
-
getRuleComboBoxIndex
Returns the RuleComboBox index for the given stroke. -
getRuleComboBoxStroke
Returns the RuleComboBox adjusted stroke for the given combobox index and an original base stroke.
-