|
JFCML - JFC/Swing
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.metasolutions.jfcml.helpers.PackageList
public class PackageList
This class maintins the list of currently imported package names.
| Constructor Summary | |
|---|---|
PackageList()
|
|
| Method Summary | |
|---|---|
void |
addPackage(String pkg)
Adds a package name to the list. |
void |
addPackages(String[] pkgs)
Adds an array of package names to the list. |
Class |
findClass(String name)
|
void |
flushImports()
Clears the list of any packages which have been imported. |
SimpleStack |
getPackages()
Gets the raw list of package names. |
void |
importClass(String qualifiedName)
|
void |
importPackage(String pkg)
Adds a package name to the list, and marks it as imported. |
| 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 Class findClass(String name)
public void importPackage(String pkg)
pkg - The name of the package.public void importClass(String qualifiedName)
public void flushImports()
public void addPackage(String pkg)
pkg - The name of the package.public void addPackages(String[] pkgs)
packages - Array of package names.public SimpleStack getPackages()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||