Package com.inductiveautomation.rm.tool
Class RMEffectTool
- java.lang.Object
-
- com.inductiveautomation.snap.ui.UIOwner<SwingEvent,javax.swing.JComponent>
-
- com.inductiveautomation.snap.swing.SwingOwner
-
- com.inductiveautomation.rm.tool.RMEffectTool
-
- Direct Known Subclasses:
RMBlurEffectTool
,RMEmbossEffectTool
,RMReflectionEffectTool
,RMShadowEffectTool
public class RMEffectTool extends SwingOwner
Provides a tool for editing RMFills.
-
-
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 RMEffectTool()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RMEditor
getEditor()
Returns the currently active editor.RMEffect
getEffect(int anIndex)
Returns an individual effect at given index.int
getEffectCount()
Returns the number of known effects.RMEffect
getSelectedEffect()
Returns the currently selected shape's effect.static RMEffectTool
getTool()
Returns the shared base tool instance.static RMEffectTool
getTool(java.lang.Object anObj)
Returns the specific tool for a given shape.void
setSelectedEffect(RMEffect anEffect)
Iterate over editor selected shapes and set fill.-
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, resetUI, respondUI, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
-
-
-
-
Method Detail
-
getEditor
public RMEditor getEditor()
Returns the currently active editor.
-
getEffectCount
public int getEffectCount()
Returns the number of known effects.
-
getEffect
public RMEffect getEffect(int anIndex)
Returns an individual effect at given index.
-
getSelectedEffect
public RMEffect getSelectedEffect()
Returns the currently selected shape's effect.
-
setSelectedEffect
public void setSelectedEffect(RMEffect anEffect)
Iterate over editor selected shapes and set fill.
-
getTool
public static RMEffectTool getTool()
Returns the shared base tool instance.
-
getTool
public static RMEffectTool getTool(java.lang.Object anObj)
Returns the specific tool for a given shape.
-
-