Package com.inductiveautomation.rm.app
Class ShapeLocationSize
- java.lang.Object
- 
- com.inductiveautomation.snap.ui.UIOwner<SwingEvent,javax.swing.JComponent>
- 
- com.inductiveautomation.snap.swing.SwingOwner
- 
- com.inductiveautomation.rm.app.ShapeLocationSize
 
 
 
- 
 public class ShapeLocationSize extends SwingOwner This class provides Swing UI editing for the currently selected shapes location and size.
- 
- 
Field Summary- 
Fields 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 Constructor Description ShapeLocationSize()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetPointsFromUnits(double aValue)Converts from tool units to shape units.doublegetUnitsFromPoints(double aValue)Converts from shape units to tool units.java.lang.StringgetWindowTitle()Returns the name to be used in the inspector's window title.voidresetUI()Updates Swing UI controls from currently selected shape.voidrespondUI(SwingEvent anEvent)Updates currently selected shape from Swing UI controls.- 
Methods 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, setWindowVisible
 - 
Methods 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
 
- 
 
- 
- 
- 
Method Detail- 
getWindowTitlepublic java.lang.String getWindowTitle() Returns the name to be used in the inspector's window title.
 - 
resetUIpublic void resetUI() Updates Swing UI controls from currently selected shape.- Overrides:
- resetUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
respondUIpublic void respondUI(SwingEvent anEvent) Updates currently selected shape from Swing UI controls.- Overrides:
- respondUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
getUnitsFromPointspublic double getUnitsFromPoints(double aValue) Converts from shape units to tool units.
 - 
getPointsFromUnitspublic double getPointsFromUnits(double aValue) Converts from tool units to shape units.
 
- 
 
-