Class RMViewerOwnerHpr<T extends RMShape>
- java.lang.Object
- 
- com.inductiveautomation.snap.ui.UIHelper<T>
- 
- com.inductiveautomation.rm.viewer.RMViewerOwnerHpr<T>
 
 
- 
- Direct Known Subclasses:
- RMViewerOwnerJHpr
 
 public class RMViewerOwnerHpr<T extends RMShape> extends UIHelper<T> A RibsHelper implementation for RMShape.
- 
- 
Constructor SummaryConstructors Constructor Description RMViewerOwnerHpr()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBinding(T aShape, Binding aBinding)Adds the individual binding at the given index to given display object.BindinggetBinding(T aShape, int anIndex)Returns the individual binding at the given index for given display object.intgetBindingCount(T aShape)Returns the number of bindings associated with given display object.java.lang.ObjectgetChild(T aShape, int anIndex)Returns the individual child object for given display object and index.intgetChildCount(T aShape)Returns the number of children for given shape.UIHelpergetHelper(java.lang.Object anObj)Return helper.static UIHelperGetHelper(java.lang.Object anObj)Override.java.lang.StringgetName(T aShape)Returns the name of the given shape.UIOwnergetOwner(T aShape)Returns given display object's owner.java.lang.ObjectgetParent(T aShape)Returns the parent object for given object.java.lang.StringgetPropertyNameMapped(T aShape, java.lang.String aName)Returns mapped property name for shape.java.util.List<java.lang.String>getPropertyNames(T aShape)Returns the property names for given shape.booleanisEnabled(T aShape, UIEvent.Type aType)Returns whether given event is enabled.BindingremoveBinding(T aShape, int anIndex)Removes the binding at the given index from given display object.voidsetEnabled(T aShape, UIEvent.Type aType, boolean aValue)Sets whether given event is enabled.voidsetOwner(T aShape, UIOwner anOwner)Sets given display object's owner.voidsetValue(T aShape, java.lang.String aPropertyName, java.lang.Object aValue)Override to call RMShape.repaint().- 
Methods inherited from class com.inductiveautomation.snap.ui.UIHelperenableEvents, 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
 
- 
 
- 
- 
- 
Method Detail- 
getNamepublic java.lang.String getName(T aShape) Returns the name of the given shape.
 - 
getParentpublic java.lang.Object getParent(T aShape) Returns the parent object for given object.
 - 
getChildCountpublic int getChildCount(T aShape) Returns the number of children for given shape.- Specified by:
- getChildCountin class- UIHelper<T extends RMShape>
 
 - 
getChildpublic java.lang.Object getChild(T aShape, int anIndex) Returns the individual child object for given display object and index.
 - 
getPropertyNamespublic java.util.List<java.lang.String> getPropertyNames(T aShape) Returns the property names for given shape.- Overrides:
- getPropertyNamesin class- UIHelper<T extends RMShape>
 
 - 
getPropertyNameMappedpublic java.lang.String getPropertyNameMapped(T aShape, java.lang.String aName) Returns mapped property name for shape.- Overrides:
- getPropertyNameMappedin class- UIHelper<T extends RMShape>
 
 - 
getBindingCountpublic int getBindingCount(T aShape) Returns the number of bindings associated with given display object.- Overrides:
- getBindingCountin class- UIHelper<T extends RMShape>
 
 - 
getBindingpublic Binding getBinding(T aShape, int anIndex) Returns the individual binding at the given index for given display object.- Overrides:
- getBindingin class- UIHelper<T extends RMShape>
 
 - 
addBindingpublic void addBinding(T aShape, Binding aBinding) Adds the individual binding at the given index to given display object.- Overrides:
- addBindingin class- UIHelper<T extends RMShape>
 
 - 
removeBindingpublic Binding removeBinding(T aShape, int anIndex) Removes the binding at the given index from given display object.- Overrides:
- removeBindingin class- UIHelper<T extends RMShape>
 
 - 
setValuepublic void setValue(T aShape, java.lang.String aPropertyName, java.lang.Object aValue) Override to call RMShape.repaint().
 - 
isEnabledpublic boolean isEnabled(T aShape, UIEvent.Type aType) Returns whether given event is enabled.
 - 
setEnabledpublic void setEnabled(T aShape, UIEvent.Type aType, boolean aValue) Sets whether given event is enabled.- Specified by:
- setEnabledin class- UIHelper<T extends RMShape>
 
 - 
getHelperpublic UIHelper getHelper(java.lang.Object anObj) Return helper.
 - 
GetHelperpublic static UIHelper GetHelper(java.lang.Object anObj) Override.
 
- 
 
-