Class RMViewerOwnerHpr<T extends RMShape>
java.lang.Object
com.inductiveautomation.snap.ui.UIHelper<T>
com.inductiveautomation.rm.viewer.RMViewerOwnerHpr<T>
- Direct Known Subclasses:
RMViewerOwnerJHpr
A RibsHelper implementation for RMShape.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBinding
(T aShape, Binding aBinding) Adds the individual binding at the given index to given display object.getBinding
(T aShape, int anIndex) Returns the individual binding at the given index for given display object.int
getBindingCount
(T aShape) Returns the number of bindings associated with given display object.Returns the individual child object for given display object and index.int
getChildCount
(T aShape) Returns the number of children for given shape.Return helper.static UIHelper
Override.Returns the name of the given shape.Returns given display object's owner.Returns the parent object for given object.getPropertyNameMapped
(T aShape, String aName) Returns mapped property name for shape.getPropertyNames
(T aShape) Returns the property names for given shape.boolean
isEnabled
(T aShape, UIEvent.Type aType) Returns whether given event is enabled.removeBinding
(T aShape, int anIndex) Removes the binding at the given index from given display object.void
setEnabled
(T aShape, UIEvent.Type aType, boolean aValue) Sets whether given event is enabled.void
Sets given display object's owner.void
Override to call RMShape.repaint().Methods inherited from class com.inductiveautomation.snap.ui.UIHelper
enableEvents, getAction, getBinding, getChild, getItemDisplayKey, getItems, getKeyValue, getPropertyNamesImpl, getSelectedIndex, getSelectedIndexes, getSelectedIndexs, getSelectedItem, getText, getValue, initUI, initUIDeep, isEnabled, isPropertyName, isValueAdjusting, removeBinding, setAction, setEnabled, setItemDisplayKey, setItems, setItems, setKeyValue, setSelectedIndex, setSelectedIndexes, setSelectedItem, setText
-
Constructor Details
-
RMViewerOwnerHpr
public RMViewerOwnerHpr()
-
-
Method Details
-
getName
Returns the name of the given shape. -
getOwner
Returns given display object's owner. -
setOwner
Sets given display object's owner. -
getParent
Returns the parent object for given object. -
getChildCount
Returns the number of children for given shape.- Specified by:
getChildCount
in classUIHelper<T extends RMShape>
-
getChild
Returns the individual child object for given display object and index. -
getPropertyNames
Returns the property names for given shape.- Overrides:
getPropertyNames
in classUIHelper<T extends RMShape>
-
getPropertyNameMapped
Returns mapped property name for shape.- Overrides:
getPropertyNameMapped
in classUIHelper<T extends RMShape>
-
getBindingCount
Returns the number of bindings associated with given display object.- Overrides:
getBindingCount
in classUIHelper<T extends RMShape>
-
getBinding
Returns the individual binding at the given index for given display object.- Overrides:
getBinding
in classUIHelper<T extends RMShape>
-
addBinding
Adds the individual binding at the given index to given display object.- Overrides:
addBinding
in classUIHelper<T extends RMShape>
-
removeBinding
Removes the binding at the given index from given display object.- Overrides:
removeBinding
in classUIHelper<T extends RMShape>
-
setValue
Override to call RMShape.repaint(). -
isEnabled
Returns whether given event is enabled. -
setEnabled
Sets whether given event is enabled.- Specified by:
setEnabled
in classUIHelper<T extends RMShape>
-
getHelper
Return helper. -
GetHelper
Override.
-