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 TypeMethodDescriptionintgetSelectedIndex(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.voidOverride to forward to component helper.booleanisEnabled(T aShape, UIEvent.Type aType) Returns whether given event is enabled.voidsetEnabled(T aShape, UIEvent.Type aType, boolean aValue) Sets whether given event is enabled.voidsetSelectedIndex(T aShape, int aValue) Sets the selected index property of given object to given value.voidsetSelectedItem(T aShape, Object aValue) Sets the selected object property of given object to given value.voidSets 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, setValueMethods 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:
initUIin classUIHelper<T extends JComponentShape>
-
getText
Returns the text property of given object.- Overrides:
getTextin classUIHelper<T extends JComponentShape>
-
setText
Sets the text property of given object to given string.- Overrides:
setTextin classUIHelper<T extends JComponentShape>
-
getSelectedIndex
Returns the selected index property of given object.- Overrides:
getSelectedIndexin classUIHelper<T extends JComponentShape>
-
setSelectedIndex
Sets the selected index property of given object to given value.- Overrides:
setSelectedIndexin classUIHelper<T extends JComponentShape>
-
getSelectedItem
Returns the selected object property of given object.- Overrides:
getSelectedItemin classUIHelper<T extends JComponentShape>
-
setSelectedItem
Sets the selected object property of given object to given value.- Overrides:
setSelectedItemin classUIHelper<T extends JComponentShape>
-
isEnabled
Returns whether given event is enabled.- Overrides:
isEnabledin classRMViewerOwnerHpr<T extends JComponentShape>
-
setEnabled
Sets whether given event is enabled.- Overrides:
setEnabledin classRMViewerOwnerHpr<T extends JComponentShape>
-