Package com.inductiveautomation.rm.tool
Class RMGradientFillTool
java.lang.Object
com.inductiveautomation.snap.ui.UIOwner<SwingEvent,JComponent>
 
com.inductiveautomation.snap.swing.SwingOwner
com.inductiveautomation.rm.tool.RMFillTool
com.inductiveautomation.rm.tool.RMGradientFillTool
Swing UI editing for RMGradientFill.
- 
Field SummaryFields inherited from class com.inductiveautomation.snap.ui.UIOwnerDragDrop, DragEnter, DragEvents, DragExit, DragOver, KeyEvents, KeyFinished, KeyPressed, KeyReleased, KeyTyped, MouseClicked, MouseDragged, MouseEntered, MouseEvents, MouseExited, MouseFinished, MouseMoved, MousePressed, MouseReleased
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetDefaultFill(RMShape shape) Returns the gradient for the shape.Returns the string used for the inspector window title.voidresetUI()Updates the UI controls from the currently selected shape.voidrespondUI(SwingEvent anEvent) Updates the currently selected shape from the UI controls.Methods inherited from class com.inductiveautomation.rm.tool.RMFillToolgetEditor, getFill, getFillCount, getSelectedFill, getSelectedStroke, getStroke, getStrokeCount, getTool, getTool, setSelectedFill, setSelectedStrokeMethods inherited from class com.inductiveautomation.snap.swing.SwingOwneraddKeyActionEvent, createTimer, createUI, createUI, createWindow, getNode, getNode, getNodeHelper, getTimer, getTimer, getUI, getWindow, isEventThread, isWindowVisible, requestFocus, requestFocusImpl, runLater, sendEvent, setWindowVisibleMethods inherited from class com.inductiveautomation.snap.ui.UIOwneraddNodeBinding, 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, initUI, isNodeEnabled, isNodeValueAdjusting, isSendEventDisabled, isUISet, processResetUI, processRespondUI, resetLater, resetNodeBindings, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
- 
Constructor Details- 
RMGradientFillToolpublic RMGradientFillTool()
 
- 
- 
Method Details- 
resetUIpublic void resetUI()Updates the UI controls from the currently selected shape.- Overrides:
- resetUIin class- RMFillTool
 
- 
respondUIUpdates the currently selected shape from the UI controls.- Overrides:
- respondUIin class- RMFillTool
 
- 
getDefaultFillReturns the gradient for the shape. Creates one if the shape doesn't have a gradient fill.
- 
getWindowTitleReturns the string used for the inspector window title.
 
-