|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.apache.turbine.modules.Assembler
|
+--org.apache.turbine.modules.Screen
This is an interface that defines the Screen modules.
| Constructor Summary | |
Screen()
|
|
| Method Summary | |
protected org.apache.ecs.ConcreteElement |
build(RunData data)
Subclasses can override this method to add additional functionality. |
protected abstract org.apache.ecs.ConcreteElement |
doBuild(RunData data)
A subclass must override this method to build itself. |
java.lang.String |
getLayout(RunData data)
If the Layout has not been defined by the Screen then set the layout to be "DefaultLayout". |
static java.lang.String |
prepareText(java.lang.String s)
This function can/should be used in any screen that will output User entered text. |
static java.lang.String |
prepareTextMinimum(java.lang.String s)
This function can/should be used in any screen that will output User entered text. |
void |
setLayout(RunData data,
java.lang.String layout)
Set the layout for a Screen. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Screen()
| Method Detail |
protected abstract org.apache.ecs.ConcreteElement doBuild(RunData data)
throws java.lang.Exception
data - Turbine information.
java.lang.Exception - a generic exception.
protected org.apache.ecs.ConcreteElement build(RunData data)
throws java.lang.Exception
data - Turbine information.
java.lang.Exception - a generic exception.public java.lang.String getLayout(RunData data)
data - Turbine information.
public void setLayout(RunData data,
java.lang.String layout)
data - Turbine information.layout - The layout name.public static java.lang.String prepareText(java.lang.String s)