|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--grendel.widgets.Column
A Column is a vertical display unit for a table that maintains width, rendering, and header display data. A column has no data model, thus it is only useful in conjunction with another UI component that provides a one.
Constructor Summary | |
Column(java.lang.Object aID)
Constructs a column with the given ID |
|
Column(java.lang.Object aID,
javax.swing.Icon aIcon)
Contructs a column with the given ID and icon |
|
Column(java.lang.Object aID,
java.lang.String aTitle)
Constructs a column with the given ID and title |
Method Summary | |
void |
addColumnChangeListener(ColumnChangeListener aListener)
Adds a ColumnChangeListener. |
CellEditor |
getCellEditor()
Not implemented |
CellRenderer |
getCellRenderer()
Returns the cell renderer for this column. |
HeaderRenderer |
getHeaderRenderer()
Returns the column's header renderer |
javax.swing.Icon |
getIcon()
Returns the column icon |
java.lang.Object |
getID()
Returns the column's user defined id. |
int |
getMaxWidth()
returns the maximum column width. |
int |
getMinWidth()
Returns the minimum column width. |
java.lang.String |
getTitle()
Returns the column title. |
int |
getWidth()
Returns the current column width |
boolean |
isResizeable()
Returns whether or not the column is resizable. |
boolean |
isSelectable()
Returns whether or not the column is resizable. |
void |
removeColumnChangeListener(ColumnChangeListener aListener)
Removes a ColumnChangeListener. |
void |
setCellEditor(CellEditor aEditor)
Not implemented |
void |
setCellRenderer(CellRenderer aRenderer)
Sets the cell renderer for this column. |
void |
setHeaderRenderer(HeaderRenderer aRenderer)
Sets the column's header renderer. |
void |
setIcon(javax.swing.Icon aIcon)
Sets the icon for the column. |
void |
setID(java.lang.Object aID)
Sets the column's user defined id. |
void |
setMaxWidth(int aWidth)
Sets the maximum column width. |
void |
setMinWidth(int aWidth)
Sets the minimum column width. |
void |
setResizeable(boolean aResizeable)
Sets whether or not the column is resizable. |
void |
setSelectable(boolean aSelectable)
Sets whether or not the column is selectable. |
void |
setTitle(java.lang.String aTitle)
Sets the column title. |
void |
setWidth(int aWidth)
Sets the width of the column. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Column(java.lang.Object aID, java.lang.String aTitle)
public Column(java.lang.Object aID, javax.swing.Icon aIcon)
public Column(java.lang.Object aID)
Method Detail |
public void setWidth(int aWidth)
getWidth()
public int getWidth()
setWidth()
public void setMinWidth(int aWidth)
getMinWidth()
public int getMinWidth()
setMinWidth()
public void setMaxWidth(int aWidth)
getMaxWidth()
public int getMaxWidth()
setMaxWidth()
public void setResizeable(boolean aResizeable)
isResizeable()
public boolean isResizeable()
setResizeable()
public void setSelectable(boolean aSelectable)
isSelectable()
public boolean isSelectable()
setSelectable()
public void setTitle(java.lang.String aTitle)
getTitle()
public java.lang.String getTitle()
setTitle()
public void setIcon(javax.swing.Icon aIcon)
getIcon()
public javax.swing.Icon getIcon()
setIcon()
public void setID(java.lang.Object aID)
getID()
public java.lang.Object getID()
setID()
public void setCellRenderer(CellRenderer aRenderer)
getCellRenderer()
,
CellRenderer
public CellRenderer getCellRenderer()
setCellRenderer()
,
CellRenderer
public void setCellEditor(CellEditor aEditor)
public CellEditor getCellEditor()
public void setHeaderRenderer(HeaderRenderer aRenderer)
getHeaderRenderer()
,
javax.swing.CellRenderer
public HeaderRenderer getHeaderRenderer()
setHeaderRenderer()
public void addColumnChangeListener(ColumnChangeListener aListener)
removeColumnListener()
,
ColumnChangeListener
public void removeColumnChangeListener(ColumnChangeListener aListener)
addColumnChangeListener.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |