Package com.inductiveautomation.rm.tool
Class RMGradientFillTool
- java.lang.Object
-
- com.inductiveautomation.snap.ui.UIOwner<SwingEvent,javax.swing.JComponent>
-
- com.inductiveautomation.snap.swing.SwingOwner
-
- com.inductiveautomation.rm.tool.RMFillTool
-
- com.inductiveautomation.rm.tool.RMGradientFillTool
-
public class RMGradientFillTool extends RMFillTool
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 Constructor Description RMGradientFillTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RMGradientFill
getDefaultFill(RMShape shape)
Returns the gradient for the shape.java.lang.String
getWindowTitle()
Returns the string used for the inspector window title.void
resetUI()
Updates the UI controls from the currently selected shape.void
respondUI(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, 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, 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
-
-
-
-
Method Detail
-
resetUI
public void resetUI()
Updates the UI controls from the currently selected shape.- Overrides:
resetUI
in classRMFillTool
-
respondUI
public void respondUI(SwingEvent anEvent)
Updates the currently selected shape from the UI controls.- Overrides:
respondUI
in classRMFillTool
-
getDefaultFill
public RMGradientFill getDefaultFill(RMShape shape)
Returns the gradient for the shape. Creates one if the shape doesn't have a gradient fill.
-
getWindowTitle
public java.lang.String getWindowTitle()
Returns the string used for the inspector window title.
-
-