|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.uml.refactor.PackageList
public class PackageList
Creates a label and a jcombo box and adds it into the JDialog. The combo box contains a list of all the packages that have been created so far. This assumes that the dialog box has used a GridBagLayout, and makes the label fill one column and the combo box fill 2 columns.
The usage:
PackageList pl = new PackageList();
JComboBox save = pl.add(this);
Constructor Summary | |
---|---|
PackageList()
|
Method Summary | |
---|---|
javax.swing.JComboBox |
add(javax.swing.JDialog dialog)
Adds a label and the combo box to the designated dialog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackageList()
Method Detail |
---|
public javax.swing.JComboBox add(javax.swing.JDialog dialog)
dialog
- the dialog window
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |