|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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.
Field Summary | |
private static org.apache.ecs.filter.CharacterFilter |
filter
|
private static org.apache.ecs.filter.CharacterFilter |
minFilter
|
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". |
private static org.apache.ecs.filter.CharacterFilter |
htmlFilter()
These attributes are supposed to be the default, but they are not, at least in ECS 1.2. |
private static org.apache.ecs.filter.CharacterFilter |
htmlMinFilter()
|
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 |
|
Field Detail |
private static final org.apache.ecs.filter.CharacterFilter filter
private static final org.apache.ecs.filter.CharacterFilter minFilter
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)