| 
EchoPoint 1.0  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo.Component
nextapp.echo.Container
echopoint.EchoPointComponent
echopoint.ListSection
The ListSection class provides a Component
 that can contain other Components or objects in a list.  
 
 The list can be ordered or unordered.  The default is unordered.
 
 The class uses the ListModel interface to keep
 of its contents.
 
| Nested Class Summary | |
static class | 
ListSection.NestedStyleInfo
Nested public static StyleInfo class.  | 
| Field Summary | |
static java.lang.String | 
BORDER_COLOR_CHANGED_PROPERTY
Property Change Names  | 
static java.lang.String | 
BORDER_SIZE_CHANGED_PROPERTY
 | 
static java.lang.String | 
BULLETS_CHANGED_PROPERTY
 | 
static int | 
BULLETS_CIRCLE
 | 
static int | 
BULLETS_DECIMAL
 | 
static int | 
BULLETS_DECIMAL_LEADING_ZERO
 | 
static int | 
BULLETS_DEFAULT
default bullets  | 
static int | 
BULLETS_DISC
 | 
static java.lang.String | 
BULLETS_IMAGE_CHANGED_PROPERTY
 | 
static int | 
BULLETS_LOWER_ALPHA
 | 
static int | 
BULLETS_LOWER_GREEK
 | 
static int | 
BULLETS_LOWER_LATIN
 | 
static int | 
BULLETS_LOWER_ROMAN
 | 
static int | 
BULLETS_NONE
Determines what type of bullet points are used  | 
static int | 
BULLETS_SQUARE
 | 
static int | 
BULLETS_UPPER_ALPHA
 | 
static int | 
BULLETS_UPPER_LATIN
 | 
static int | 
BULLETS_UPPER_ROMAN
 | 
static SymbolicValue[] | 
bulletSymbolics
Helper static SymbolicValue[] - Bullet Symbolics  | 
static nextapp.echo.Insets | 
DEFAULT_INSETS
 | 
static java.lang.String | 
INSETS_CHANGED_PROPERTY
 | 
static java.lang.String | 
LIST_DATA_CHANGED_PROPERTY
 | 
static java.lang.String | 
MODEL_CHANGED_PROPERTY
 | 
static int | 
ORDERED
Determines whether the list is ordered or not  | 
static java.lang.String | 
ORDERING_CHANGED_PROPERTY
 | 
static SymbolicValue[] | 
orderingSymbolics
Helper static SymbolicValue[] - List Ordering  | 
static java.lang.String | 
STYLE_BORDER_COLOR
A style constant for the Border Color property.  | 
static java.lang.String | 
STYLE_BORDER_SIZE
A style constant for the Border Size property.  | 
static java.lang.String | 
STYLE_BULLETS
A style constant for the Bullets property.  | 
static java.lang.String | 
STYLE_BULLETS_IMAGE
A style constant for the Bullets Image property.  | 
static java.lang.String | 
STYLE_INSETS
A style constant for the Insets property.  | 
static java.lang.String | 
STYLE_ORDERING
A style constant for the Ordering property.  | 
static int | 
UNORDERED
 | 
| Fields inherited from class echopoint.EchoPointComponent | 
STYLE_TOOL_TIP_TEXT, TOOL_TIP_TEXT_CHANGED_PROPERTY, toolTipPopUp | 
| Fields inherited from class nextapp.echo.Component | 
BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, listenerList, LOCALE_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY | 
| Fields inherited from interface echopoint.positionable.MouseCursorable | 
borderStyleSymbolics, CURSOR_AUTO, CURSOR_CROSSHAIR, CURSOR_CUSTOM_URI, CURSOR_DEFAULT, CURSOR_E_RESIZE, CURSOR_HELP, CURSOR_MOVE, CURSOR_N_RESIZE, CURSOR_NE_RESIZE, CURSOR_NW_RESIZE, CURSOR_POINTER, CURSOR_S_RESIZE, CURSOR_SE_RESIZE, CURSOR_SW_RESIZE, CURSOR_TEXT, CURSOR_W_RESIZE, CURSOR_WAIT, STYLE_MOUSE_CURSOR, STYLE_MOUSE_CURSOR_URI | 
| Constructor Summary | |
ListSection()
Constructs a ListSection with nothing in it | 
|
ListSection(int ordering)
Constructs a ListSection 
 Ordering can be one of the following values.
         | 
|
ListSection(int ordering,
            java.util.List newList)
Constructs a ListSection with the objects supplied
 in the provided list.
  | 
|
ListSection(int ordering,
            java.lang.Object[] arrList)
Constructs a ListSection with the objects supplied
 in the provided array.
  | 
|
ListSection(java.lang.Object[] arrList)
Constructs a ListSection with the list contents as arrList. | 
|
| Method Summary | |
 void | 
add(nextapp.echo.Component c)
Adds a Component to the ListSection
 
 Note that this will only be performed if the underlying model
 is derived from DefaultListModel. | 
 void | 
add(nextapp.echo.Component c,
    int index)
Adds a Component to the ListSectionat 
 the specified index
 
 Note that this will only be performed if the underlying model
 is derived from DefaultListModel. | 
 void | 
add(java.lang.String s)
Adds a String to the ListSection
 
 Note that this will only be performed if the underlying model
 is derived from DefaultListModel. | 
 void | 
add(java.lang.String s,
    int index)
Adds a String to the ListSectionat 
 the specified index
 
 Note that this will only be performed if the underlying model
 is derived from DefaultListModel. | 
 void | 
addListDataListener(nextapp.echo.event.ListDataListener l)
Adds a ListDataListener to the section | 
 void | 
applyStyle(nextapp.echo.Style style)
Applies the provided style to the component.  | 
 nextapp.echo.Color | 
getBorderColor()
 | 
 int | 
getBorderSize()
 | 
 int | 
getBullets()
 | 
 nextapp.echo.ImageReference | 
getBulletsImage()
 | 
 nextapp.echo.Insets | 
getInsets()
 | 
 java.lang.Object[] | 
getList()
 | 
 nextapp.echo.ListModel | 
getModel()
 | 
 int | 
getOrdering()
 | 
 void | 
remove(nextapp.echo.Component c)
Removes a Component from the ListSection
 
 Note that this will only be performed if the underlying model
 is derived from DefaultListModel. | 
 void | 
remove(java.lang.String s)
Removes a String from the ListSection
 
 Note that this will only be performed if the underlying model
 is derived from DefaultListModel. | 
 void | 
removeListDataListener(nextapp.echo.event.ListDataListener l)
Removes a ListDataListener from this component.  | 
 java.lang.Object | 
set(java.lang.reflect.Field field,
    java.lang.Object newValue)
Called to save the old value of a field, set in a new value and return the old value of a field.  | 
 void | 
setBorderColor(nextapp.echo.Color newBorderColor)
Sets the border Color of the ListSection.
  | 
 void | 
setBorderSize(int newBorderSize)
Sets the border size of the ListSection.
  | 
 void | 
setBullets(int newBullets)
Sets the bullets in use for the ListSection.
  | 
 void | 
setBulletsImage(nextapp.echo.ImageReference newBulletsImage)
Sets the ImageReference of the ListSection's bullets.
  | 
 void | 
setInsets(nextapp.echo.Insets newValue)
Sets the Insets used by the ListSection
 This methods fires a PropertyChangeEvent with a
 getPropertyName() value of 
 ListSection.INSETS_CHANGED_PROPERTY | 
 void | 
setList(java.util.List newList)
Sets the contents of the ListModel of the ListSection.
  | 
 void | 
setList(java.lang.Object[] newList)
Sets the contents of the ListModel of the ListSection.
  | 
 void | 
setModel(nextapp.echo.ListModel newModel)
Sets the ListModel of the ListSection.
  | 
 void | 
setOrdering(int newOrdering)
Sets the ordering in use for the ListSection.
  | 
| Methods inherited from class echopoint.EchoPointComponent | 
getMouseCursor, getMouseCursorURI, getToolTipPopUp, getToolTipText, set, set, set, set, set, set, set, set, set, setEnabledAllChildren, setMouseCursor, setMouseCursorURI, setToolTipText, validate | 
| Methods inherited from class nextapp.echo.Component | 
addHierarchyListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getComponent, getComponentCount, getComponents, getEchoInstance, getFont, getForeground, getIdentifier, getLocale, getParent, indexOf, init, isAncestorOf, isEnabled, isRegistered, isShowing, isVisible, remove, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setEnabled, setFont, setForeground, setIdentifier, setLocale, setVisible, update | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final java.lang.String STYLE_BORDER_COLOR
nextapp.echo.Color.
public static final java.lang.String STYLE_BORDER_SIZE
Integer.
public static final java.lang.String STYLE_ORDERING
Integer.
public static final java.lang.String STYLE_BULLETS
Integer.
public static final java.lang.String STYLE_BULLETS_IMAGE
nextapp.echo.ImageRef.
public static final java.lang.String STYLE_INSETS
nextapp.echo.Insets.
public static final int BULLETS_NONE
public static final int BULLETS_DISC
public static final int BULLETS_CIRCLE
public static final int BULLETS_SQUARE
public static final int BULLETS_DECIMAL
public static final int BULLETS_DECIMAL_LEADING_ZERO
public static final int BULLETS_LOWER_ROMAN
public static final int BULLETS_UPPER_ROMAN
public static final int BULLETS_LOWER_ALPHA
public static final int BULLETS_UPPER_ALPHA
public static final int BULLETS_LOWER_GREEK
public static final int BULLETS_LOWER_LATIN
public static final int BULLETS_UPPER_LATIN
public static final int BULLETS_DEFAULT
public static final int ORDERED
public static final int UNORDERED
public static SymbolicValue[] bulletSymbolics
public static SymbolicValue[] orderingSymbolics
public static final java.lang.String BORDER_COLOR_CHANGED_PROPERTY
public static final java.lang.String BORDER_SIZE_CHANGED_PROPERTY
public static final java.lang.String INSETS_CHANGED_PROPERTY
public static final java.lang.String ORDERING_CHANGED_PROPERTY
public static final java.lang.String BULLETS_CHANGED_PROPERTY
public static final java.lang.String BULLETS_IMAGE_CHANGED_PROPERTY
public static final java.lang.String MODEL_CHANGED_PROPERTY
public static final java.lang.String LIST_DATA_CHANGED_PROPERTY
public static final nextapp.echo.Insets DEFAULT_INSETS
| Constructor Detail | 
public ListSection()
ListSection with nothing in it
public ListSection(java.lang.Object[] arrList)
ListSection with the list contents as arrList.
public ListSection(int ordering)
ListSection 
 Ordering can be one of the following values.
        
public ListSection(int ordering,
                   java.lang.Object[] arrList)
ListSection with the objects supplied
 in the provided array.
 Ordering can be one of the following values.
        
public ListSection(int ordering,
                   java.util.List newList)
ListSection with the objects supplied
 in the provided list.
 Ordering can be one of the following values.
        
| Method Detail | 
public void add(java.lang.String s)
String to the ListSection
 Note that this will only be performed if the underlying model is derived from DefaultListModel.
public void add(java.lang.String s,
                int index)
String to the ListSectionat 
 the specified index
 Note that this will only be performed if the underlying model is derived from DefaultListModel.
public void add(nextapp.echo.Component c)
Component to the ListSection
 Note that this will only be performed if the underlying model is derived from DefaultListModel.
public void add(nextapp.echo.Component c,
                int index)
Component to the ListSectionat 
 the specified index
 Note that this will only be performed if the underlying model is derived from DefaultListModel.
public void addListDataListener(nextapp.echo.event.ListDataListener l)
ListDataListener to the section
l - The ListDataListener to be added.public void applyStyle(nextapp.echo.Style style)
nextapp.echo.Component
 style names can be used as well.
applyStyle in interface MouseCursorableapplyStyle in class EchoPointComponentComponent.applyStyle(nextapp.echo.Style)public nextapp.echo.Color getBorderColor()
Color of the ListSection's border.public int getBorderSize()
ListSection's border.public int getBullets()
ListSection
 Can be one of the following values.
        public nextapp.echo.ImageReference getBulletsImage()
ImageReference of the ListSection's bullets.public nextapp.echo.Insets getInsets()
Insets (margins) of the ListSection.public java.lang.Object[] getList()
ListModel of the ListSection as an array.public nextapp.echo.ListModel getModel()
ListModel of the ListSection.public int getOrdering()
ListSection
 Can be one of the following values.
        public void remove(java.lang.String s)
String from the ListSection
 Note that this will only be performed if the underlying model is derived from DefaultListModel.
public void remove(nextapp.echo.Component c)
Component from the ListSection
 Note that this will only be performed if the underlying model is derived from DefaultListModel.
public void removeListDataListener(nextapp.echo.event.ListDataListener l)
l - the ListDataListener to removepublic void setBorderColor(nextapp.echo.Color newBorderColor)
Color of the ListSection.
 PropertyChangeEvent with a
 getPropertyName() value of 
 ListSection.BORDER_COLOR_CHANGED_PROPERTY
public void setBorderSize(int newBorderSize)
ListSection.
 PropertyChangeEvent with a
 getPropertyName() value of 
 ListSection.BORDER_SIZE_CHANGED_PROPERTY
public void setBullets(int newBullets)
ListSection.
 PropertyChangeEvent with a
 getPropertyName() value of 
 ListSection.BULLETS_CHANGED_PROPERTY
public void setBulletsImage(nextapp.echo.ImageReference newBulletsImage)
ImageReference of the ListSection's bullets.
 PropertyChangeEvent with a
 getPropertyName() value of 
 ListSection.BULLETS_IMAGE_CHANGED_PROPERTY
public void setInsets(nextapp.echo.Insets newValue)
Insets used by the ListSection
 PropertyChangeEvent with a
 getPropertyName() value of 
 ListSection.INSETS_CHANGED_PROPERTY
public void setList(java.lang.Object[] newList)
ListModel of the ListSection.
 PropertyChangeEvent with a
 getPropertyName() value of 
 ListSection.MODEL_CHANGED_PROPERTY
public void setList(java.util.List newList)
ListModel of the ListSection.
 PropertyChangeEvent with a
 getPropertyName() value of 
 ListSection.MODEL_CHANGED_PROPERTY
public void setModel(nextapp.echo.ListModel newModel)
ListModel of the ListSection.
 PropertyChangeEvent with a
 getPropertyName() value of 
 ListSection.MODEL_CHANGED_PROPERTY
public void setOrdering(int newOrdering)
ListSection.
 PropertyChangeEvent with a
 getPropertyName() value of 
 ListSection.ORDERING_CHANGED_PROPERTY
public java.lang.Object set(java.lang.reflect.Field field,
                            java.lang.Object newValue)
                     throws java.lang.Exception
ReflectionSetter
 public Object set(Field f, Object newValue) throws Exception {
      Object oldValue = f.get(this);
      f.set(this,newValue);
      return oldValue;
 }
 
field - - the field to be setnewValue - - the new value to be set
java.lang.ExceptionReflectionSetter.set(Field, Object)
  | 
EchoPoint 1.0  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||