|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttypes.GUIFile
public abstract class GUIFile
The GUI definition file.
| Nested Class Summary | |
|---|---|
static class |
GUIFile.EventHandler
A handler declared in the GUI file as part of the controller. |
static class |
GUIFile.Flag
The enumeration type of flags set in the file. |
| Field Summary | |
|---|---|
String |
filename
The filename of the original source file. |
Set<GUIFile.Flag> |
flags
The set of flags that are set in the file. |
List<? extends GUIFile.EventHandler> |
handlers
A list of the handlers declared in the file. |
List<? extends Widget> |
widgets
A list of all the widgets defined in the file. |
| Constructor Summary | |
|---|---|
protected |
GUIFile(String filename,
List<? extends Widget> widgets,
Set<GUIFile.Flag> flags,
List<? extends GUIFile.EventHandler> handlers)
|
| Method Summary | |
|---|---|
abstract String |
getControllerId()
|
abstract String |
getPackageId()
|
abstract String |
getProjectName()
|
protected abstract void |
setControllerId(String controllerId)
Set the identifier for the controller class to be generated. |
abstract void |
setPackageId(String packageId)
Set the package identifier for generated files. |
abstract void |
setProjectName(String projectName)
Set the identifier of the generated class. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String filename
public final List<? extends Widget> widgets
public final Set<GUIFile.Flag> flags
public final List<? extends GUIFile.EventHandler> handlers
| Constructor Detail |
|---|
protected GUIFile(String filename,
List<? extends Widget> widgets,
Set<GUIFile.Flag> flags,
List<? extends GUIFile.EventHandler> handlers)
filename - The name of the original file.widgets - The list to be used for widgets.flags - The set to be used for flags.handlers - The list to be used for handlers.| Method Detail |
|---|
public String toString()
toString in class Objectpublic abstract String getControllerId()
protected abstract void setControllerId(String controllerId)
controllerId - The new identifier.public abstract String getPackageId()
public abstract void setPackageId(String packageId)
packageId - The new package identifier.public abstract String getProjectName()
public abstract void setProjectName(String projectName)
projectName - The new identifier.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||