All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----sunsoft.jws.visual.rt.base.AttributeManager | +----sunsoft.jws.visual.rt.base.Shadow | +----sunsoft.jws.visual.rt.shadow.java.awt.ComponentShadow | +----sunsoft.jws.visual.rt.shadow.java.awt.CanvasShadow | +----sunsoft.jws.visual.rt.shadow.ColumnListShadow
name type default value ----------------------------------------------------------------------- autoWidth java.lang.Boolean true visibleChars java.lang.Integer 0 visibleRows java.lang.Integer 5 headers [Ljava.lang.String; header1,header2,header3 highlightItems java.lang.Boolean false selectable java.lang.Boolean true showHeaders java.lang.Boolean trueheaders: An array of Strings. The size of this array determines the number of columns in the list. There will be one additional, hidden column that can be used for any Object. The length of the header string defines the initial width of the column. To make it wider, add spaces to the end of the string. If a header field is of the form "name=header", then only the "header" part will actually be used for the visible header. The "name" part is available through getNames() or getNameColumn() interfaces on the ColumnList widget. If the "name" part is started with a '*', then that column is considered a "key column." When addItem() is used to add a new row of data to the column list, a check is made to see if the key columns of data in the new item exactly match all of the key columns in any of the current rows. If there is a match, the new data replaces what was in the matched row, rather than the new data being added to the end in a new row.
selectable: If true, records (rows) can be selected with the mouse. A LIST_EVENT gets posted.
highlight_items: If true, new entries will be highlighted in orange, slowly fading out.
showHeaders: If set to false, the headers will not be shown.
autoWidth: when set to true, a column will automatically become wider to accomodate a new piece of data in that column that doesn't fit within the current width of the column.
Check the super class for additional attributes.
public ColumnListShadow()
protected Object getOnBody(String key)
protected void setOnBody(String key, Object value)
public void createBody()
All Packages Class Hierarchy This Package Previous Next Index