|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListPanel
A list panel represents a mutable panel whose subelements have similar properties to a list.
For example suppose you wish a user to enter data that will be stored in an array. You would
need to have multiple text property boxes and a way for users to add and remove text property boxes.
Copyright: Copyright (c) 2001
Company: MSX-International
Method Summary | |
---|---|
void |
addRow()
Adds a row to this list panel, this uses getRowLabel() for the label. |
javax.swing.JButton |
getAddButton()
The add button cause another row to be added |
javax.swing.JButton |
getRemoveButton()
The remove button causes the last row to be removed |
java.lang.String |
getRowLabel()
|
java.lang.Object |
getValue()
|
void |
removeRow()
Removes thge last row of this list panel |
void |
setValue(java.lang.Object value)
TODO: Should this be typed, or should I cater for collections? |
Method Detail |
---|
javax.swing.JButton getAddButton()
javax.swing.JButton getRemoveButton()
void addRow()
getRowLabel()
for the label.
void removeRow()
java.lang.String getRowLabel()
java.lang.Object getValue()
void setValue(java.lang.Object value)
value
- - This is most likey an array
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |