|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo2.app.Component
nextapp.echo2.app.Table
echopointng.table.TableEx
public abstract class TableEx
TableEx is a base abstract class for deriving new Table
components.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
TableEx()
Creates a new TableEx with an empty
DefaultTableModel. |
|
TableEx(int columns,
int rows)
Creates a new Table with a new
DefaultTableModel with the specified dimensions. |
|
TableEx(TableModel model)
Creates a TableEx using the supplied
TableModel. |
|
TableEx(TableModel model,
TableColumnModel columnModel)
Creates a Table with the supplied TableModel
and the specified TableColumnModel. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String attributeName)
Returns a value for the given attribute name or null if one cannot be found. |
java.lang.String[] |
getAttributeNames()
Returns a String array with the names of the the attributes that have neen set. |
void |
init()
Life-cycle method invoked when the Component is added
to a registered hierarchy. |
void |
setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
Sets a value for a given attribute name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableEx()
TableEx with an empty
DefaultTableModel.
public TableEx(int columns,
int rows)
Table with a new
DefaultTableModel with the specified dimensions.
columns - the initial column countrows - the initial row countpublic TableEx(TableModel model)
TableEx using the supplied
TableModel.
model - the initial model
public TableEx(TableModel model,
TableColumnModel columnModel)
Table with the supplied TableModel
and the specified TableColumnModel.
model - the initial modelcolumnModel - the initial column model| Method Detail |
|---|
public java.lang.Object getAttribute(java.lang.String attributeName)
Attributeable
getAttribute in interface AttributeableattributeName - - the name of the attribute to return
Attributeable.getAttribute(java.lang.String)public java.lang.String[] getAttributeNames()
Attributeable
getAttributeNames in interface AttributeableAttributeable.getAttributeNames()public void init()
ComponentComponent is added
to a registered hierarchy. Implementations should always invoke
super.init().
Modifications to the component hierarchy are not allowed within this
method.
init in class ComponentComponent.init()
public void setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
Attributeable
setAttribute in interface AttributeableattributeName - - the name of the attribute to setattributeValue - - the value for the attributeAttributeable.setAttribute(java.lang.String,
java.lang.Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||