com.ibm.hats.transform.widgets
Class AbstractButtonTableWidget
java.lang.Object
com.ibm.hats.transform.widgets.Widget
com.ibm.hats.transform.widgets.AbstractButtonTableWidget
- All Implemented Interfaces:
- IContextDependent, ICustomPropertySupplier, com.ibm.hats.transform.renderers.TextRenderer
- Direct Known Subclasses:
- ButtonTableWidget
public abstract class AbstractButtonTableWidget
- extends Widget
- implements IContextDependent
| Methods inherited from class com.ibm.hats.transform.widgets.Widget |
convertBidi, draw, getComponentElements, getContextAttribute, getContextAttributes, getCustomComposite, getCustomProperties, getCustomPropertiesBiDi, getDefaultValues, getPropertyPageCount, getSettings, insertAlign, insertDir, newInstance, setComponentElements, setContextAttribute, setContextAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_COLUMNS_PER_ROW
public static final String PROPERTY_COLUMNS_PER_ROW
- Widget settings property name.
- See Also:
- Constant Field Values
columnsPerRow
protected int columnsPerRow
AbstractButtonTableWidget
public AbstractButtonTableWidget(ComponentElement[] componentElements,
Properties settings)
isPropertyAllowed
public boolean isPropertyAllowed(String name,
ContextAttributes contextAttributes)
- Description copied from interface:
IContextDependent
- Gets whether or not the specified property should be visible in the component or widget settings. The context attributes
may contain the Component name when this is called on a Widget, or whether or not we are presenting this Component/Widget
choice while configuring Default Rendering.
- Specified by:
isPropertyAllowed in interface IContextDependent
- Parameters:
name - property name
- Returns:
- whether or not this property is allowed in the specified context
isAllowed
public boolean isAllowed(ContextAttributes contextAttributes)
- Description copied from interface:
IContextDependent
- Gets whether or not this object should be visible in the studio given some context attributes. The context attributes
may contain the Component name when this is called on a Widget, or whether or not we are presenting this Component/Widget
choice while configuring Default Rendering.
- Specified by:
isAllowed in interface IContextDependent
- Returns:
- whether or not this Component or Widget is allowed in the specified context
setSettings
public void setSettings(Properties newSettings)
- Description copied from class:
Widget
- Sets the Widget's settings.
- Overrides:
setSettings in class Widget
- Parameters:
newSettings - The Properties to set.