public class RMViewerOwnerHpr<T extends RMShape> extends UIHelper<T>
Constructor and Description |
---|
RMViewerOwnerHpr() |
Modifier and Type | Method and Description |
---|---|
void |
addBinding(T aShape,
Binding aBinding)
Adds the individual binding at the given index to given display object.
|
Binding |
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.
|
java.lang.Object |
getChild(T aShape,
int anIndex)
Returns the individual child object for given display object and index.
|
int |
getChildCount(T aShape)
Returns the number of children for given shape.
|
UIHelper |
getHelper(java.lang.Object anObj)
Return helper.
|
static UIHelper |
GetHelper(java.lang.Object anObj)
Override.
|
java.lang.String |
getName(T aShape)
Returns the name of the given shape.
|
UIOwner |
getOwner(T aShape)
Returns given display object's owner.
|
java.lang.Object |
getParent(T aShape)
Returns the parent object for given object.
|
java.lang.String |
getPropertyNameMapped(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.
|
boolean |
isEnabled(T aShape,
UIEvent.Type aType)
Returns whether given event is enabled.
|
Binding |
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 |
setOwner(T aShape,
UIOwner anOwner)
Sets given display object's owner.
|
void |
setValue(T aShape,
java.lang.String aPropertyName,
java.lang.Object aValue)
Override to call RMShape.repaint().
|
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
public java.lang.String getName(T aShape)
public java.lang.Object getParent(T aShape)
public int getChildCount(T aShape)
getChildCount
in class UIHelper<T extends RMShape>
public java.lang.Object getChild(T aShape, int anIndex)
public java.util.List<java.lang.String> getPropertyNames(T aShape)
getPropertyNames
in class UIHelper<T extends RMShape>
public java.lang.String getPropertyNameMapped(T aShape, java.lang.String aName)
getPropertyNameMapped
in class UIHelper<T extends RMShape>
public int getBindingCount(T aShape)
getBindingCount
in class UIHelper<T extends RMShape>
public Binding getBinding(T aShape, int anIndex)
getBinding
in class UIHelper<T extends RMShape>
public void addBinding(T aShape, Binding aBinding)
addBinding
in class UIHelper<T extends RMShape>
public Binding removeBinding(T aShape, int anIndex)
removeBinding
in class UIHelper<T extends RMShape>
public void setValue(T aShape, java.lang.String aPropertyName, java.lang.Object aValue)
public boolean isEnabled(T aShape, UIEvent.Type aType)
public void setEnabled(T aShape, UIEvent.Type aType, boolean aValue)
setEnabled
in class UIHelper<T extends RMShape>
public UIHelper getHelper(java.lang.Object anObj)
public static UIHelper GetHelper(java.lang.Object anObj)