com.isti.util
Class CfgPropItem.ItemGroupSelector

java.lang.Object
  extended by com.isti.util.CfgPropItem.ItemGroupSelector
Enclosing class:
CfgPropItem

public static class CfgPropItem.ItemGroupSelector
extends java.lang.Object

Class ItemGroupSelector defines a run-time-configurable group selector for 'CfgPropItem' objects. The intended use is to configure whether or not a group a items is displayed via the 'CfgPropertyInspector' class.


Constructor Summary
CfgPropItem.ItemGroupSelector(java.lang.Object selectorObj)
          Creates a run-time-configurable group selector for 'CfgPropItem' objects.
CfgPropItem.ItemGroupSelector(java.lang.Object selectorObj, boolean enableFlag)
          Creates a run-time-configurable group selector for 'CfgPropItem' objects.
 
Method Summary
 boolean getEnableFlag()
          Returns the enabled/disabled status of this selector.
 java.lang.Object getSelectObj()
          Returns the group-select object used by this selector.
 java.lang.String getSelectStr()
          Returns the group-select string used by this selector.
 void setEnableFlag(boolean flgVal)
          Sets this selector as enabled or disabled.
 void setSelectObj(java.lang.Object selObj)
          Sets the group-select object used by this selector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CfgPropItem.ItemGroupSelector

public CfgPropItem.ItemGroupSelector(java.lang.Object selectorObj,
                                     boolean enableFlag)
Creates a run-time-configurable group selector for 'CfgPropItem' objects.

Parameters:
selectorObj - the group-select object to use.
enableFlag - true to enable this selector; false to disable this selector.

CfgPropItem.ItemGroupSelector

public CfgPropItem.ItemGroupSelector(java.lang.Object selectorObj)
Creates a run-time-configurable group selector for 'CfgPropItem' objects. The selector is initialized as enabled.

Parameters:
selectorObj - the group-select object to use.
Method Detail

setSelectObj

public void setSelectObj(java.lang.Object selObj)
Sets the group-select object used by this selector.

Parameters:
selObj - the group-select object to use.

getSelectObj

public java.lang.Object getSelectObj()
Returns the group-select object used by this selector.

Returns:
The group-select object, or null if this selector has been disabled.

getSelectStr

public java.lang.String getSelectStr()
Returns the group-select string used by this selector.

Returns:
The group-select string, or null if a group-select string has not been assigned or if this selector has been disabled.

setEnableFlag

public void setEnableFlag(boolean flgVal)
Sets this selector as enabled or disabled.

Parameters:
flgVal - true to enable this selector; false to disable this selector.

getEnableFlag

public boolean getEnableFlag()
Returns the enabled/disabled status of this selector.

Returns:
true if this selector is enabled; false if not.