com.yospace.yae.yogi.info
Class AbstractTableInfo
java.lang.Object
|
+--com.yospace.yae.yogi.info.YogiComponentInfo
|
+--com.yospace.yae.yogi.info.AbstractTableInfo
- Direct Known Subclasses:
- YogiListInfo, YogiTableInfo
- public class AbstractTableInfo
- extends YogiComponentInfo
| Fields inherited from class com.yospace.yae.yogi.info.YogiComponentInfo |
PROPERTY_ALIGN_STRING, PROPERTY_BORDER_STYLE_STRING, PROPERTY_BOUNDS_STRING, PROPERTY_COLOR_STRING, PROPERTY_ENABLED_STRING, PROPERTY_FOCUS_INDEX_STRING, PROPERTY_FOCUS_STRING, PROPERTY_FOCUS_TRAVERSABLE_STRING, PROPERTY_FONT_STRING, PROPERTY_HOTKEY_STRING, PROPERTY_LOCATION_STRING, PROPERTY_OPAQUE_STRING, PROPERTY_SIZE_STRING, PROPERTY_VISIBLE_STRING, PROPERTY_X_INSET_STRING, PROPERTY_Y_INSET_STRING |
|
Method Summary |
int |
getCodeForProperty(java.lang.String propertyName)
Returning the Code for a given property name. |
java.util.Hashtable |
getProperties(java.lang.Object obj)
Will build a hashTable of all the properties that the object has, including those inherited by its
superclasses, along with their current values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_FIXED_CELL_HEIGHT_STRING
public static final java.lang.String PROPERTY_FIXED_CELL_HEIGHT_STRING
- Property constant for the fixed cell height
PROPERTY_SELECTED_INDEX_STRING
public static final java.lang.String PROPERTY_SELECTED_INDEX_STRING
- Property constant for the selection model
PROPERTY_SELECTION_MODE_STRING
public static final java.lang.String PROPERTY_SELECTION_MODE_STRING
- Property constant for the selection model
PROPERTY_CELL_BORDERS_STRING
public static final java.lang.String PROPERTY_CELL_BORDERS_STRING
- Property constant for the cell borders
PROPERTY_RENDERER_STRING
public static final java.lang.String PROPERTY_RENDERER_STRING
- Property constant for the renderer
PROPERTY_ITEMS_STRING
public static final java.lang.String PROPERTY_ITEMS_STRING
- Property constant for the data items
PROPERTY_TOGGLEABLE_STRING
public static final java.lang.String PROPERTY_TOGGLEABLE_STRING
- Property constant for the toggleable flag
AbstractTableInfo
public AbstractTableInfo()
getCodeForProperty
public int getCodeForProperty(java.lang.String propertyName)
- Description copied from class:
YogiComponentInfo
- Returning the Code for a given property name. These Codes are used for firing propertyChangeEvents.
- Overrides:
getCodeForProperty in class YogiComponentInfo
- Following copied from class:
com.yospace.yae.yogi.info.YogiComponentInfo
- Parameters:
propertyName - the property name for which the code is required.- Returns:
- the code for the relevant property.
getProperties
public java.util.Hashtable getProperties(java.lang.Object obj)
- Description copied from class:
YogiComponentInfo
- Will build a hashTable of all the properties that the object has, including those inherited by its
superclasses, along with their current values.
- Overrides:
getProperties in class YogiComponentInfo
- Following copied from class:
com.yospace.yae.yogi.info.YogiComponentInfo
- Parameters:
obj - the object for which the properties will be built for.- Returns:
- the hashTable containing all the names of the properties as Strings (as the keys) and the value
for each property is its current value.