Class RMViewerOwnerJHpr<T extends JComponentShape>
java.lang.Object
com.inductiveautomation.snap.ui.UIHelper<T>
com.inductiveautomation.rm.viewer.RMViewerOwnerHpr<T>
com.inductiveautomation.rm.viewer.RMViewerOwnerJHpr<T>
A RibsHelper implementation for JComponentShape.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getSelectedIndex
(T aShape) Returns the selected index property of given object.getSelectedItem
(T aShape) Returns the selected object property of given object.Returns the text property of given object.void
Override to forward to component helper.boolean
isEnabled
(T aShape, UIEvent.Type aType) Returns whether given event is enabled.void
setEnabled
(T aShape, UIEvent.Type aType, boolean aValue) Sets whether given event is enabled.void
setSelectedIndex
(T aShape, int aValue) Sets the selected index property of given object to given value.void
setSelectedItem
(T aShape, Object aValue) Sets the selected object property of given object to given value.void
Sets the text property of given object to given string.Methods inherited from class com.inductiveautomation.rm.viewer.RMViewerOwnerHpr
addBinding, getBinding, getBindingCount, getChild, getChildCount, getHelper, GetHelper, getName, getOwner, getParent, getPropertyNameMapped, getPropertyNames, removeBinding, setOwner, setValue
Methods inherited from class com.inductiveautomation.snap.ui.UIHelper
enableEvents, getAction, getBinding, getChild, getItemDisplayKey, getItems, getKeyValue, getPropertyNamesImpl, getSelectedIndexes, getSelectedIndexs, getValue, initUIDeep, isEnabled, isPropertyName, isValueAdjusting, removeBinding, setAction, setEnabled, setItemDisplayKey, setItems, setItems, setKeyValue, setSelectedIndexes
-
Constructor Details
-
RMViewerOwnerJHpr
public RMViewerOwnerJHpr()
-
-
Method Details
-
initUI
Override to forward to component helper.- Overrides:
initUI
in classUIHelper<T extends JComponentShape>
-
getText
Returns the text property of given object.- Overrides:
getText
in classUIHelper<T extends JComponentShape>
-
setText
Sets the text property of given object to given string.- Overrides:
setText
in classUIHelper<T extends JComponentShape>
-
getSelectedIndex
Returns the selected index property of given object.- Overrides:
getSelectedIndex
in classUIHelper<T extends JComponentShape>
-
setSelectedIndex
Sets the selected index property of given object to given value.- Overrides:
setSelectedIndex
in classUIHelper<T extends JComponentShape>
-
getSelectedItem
Returns the selected object property of given object.- Overrides:
getSelectedItem
in classUIHelper<T extends JComponentShape>
-
setSelectedItem
Sets the selected object property of given object to given value.- Overrides:
setSelectedItem
in classUIHelper<T extends JComponentShape>
-
isEnabled
Returns whether given event is enabled.- Overrides:
isEnabled
in classRMViewerOwnerHpr<T extends JComponentShape>
-
setEnabled
Sets whether given event is enabled.- Overrides:
setEnabled
in classRMViewerOwnerHpr<T extends JComponentShape>
-