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 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 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.RMFillTool
getEditor, getFill, getFillCount, getSelectedFill, getSelectedStroke, getStroke, getStrokeCount, getTool, getTool, setSelectedFill, setSelectedStrokeMethods 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, setWindowVisibleMethods 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, 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
-
RMGradientFillTool
public RMGradientFillTool()
-
-
Method Details
-
resetUI
public void resetUI()Updates the UI controls from the currently selected shape.- Overrides:
resetUIin classRMFillTool
-
respondUI
Updates the currently selected shape from the UI controls.- Overrides:
respondUIin classRMFillTool
-
getDefaultFill
Returns the gradient for the shape. Creates one if the shape doesn't have a gradient fill. -
getWindowTitle
Returns the string used for the inspector window title.
-