org.jwarp.flow.form.model
Interface IScreen

All Superinterfaces:
IComponent, IContainer, IExceptionProvider

public interface IScreen
extends IContainer, IExceptionProvider


Field Summary
static int STATUS_ACCEPTED
           
static int STATUS_ACTIVE
           
static int STATUS_CANCELLED
           
static int STATUS_CREATED
           
 
Method Summary
 void addScreenListener(IScreenListener listener)
          Add a new screen listener.
 java.util.Hashtable getData()
          Return the predefined data.
 int getStatus()
          Returns the current status of the screen
 java.lang.String getTarget()
          Return the target compiler/implementor.
 int getTargetType()
          Return the basic target type.
 java.lang.String getTitle()
          Return the screen title
 boolean isErrorScreen()
          Returns true if this is a error screen.
 boolean isResizable()
          Indicates whether this screen is resizable by the user.
 boolean isSecure()
          Returns true if this form is a secure form.
 void removeScreenListener(IScreenListener listener)
          Remove a screen listener.
 
Methods inherited from interface org.jwarp.flow.form.model.IContainer
add, add, addContainerListener, contains, getComponent, getComponentCount, getComponents, remove, remove, removeAll, removeContainerListener
 
Methods inherited from interface org.jwarp.flow.form.model.IComponent
addComponentListener, getDescription, getFullName, getID, getListeners, getLocale, getName, getParent, getXMLTree, handleEvent, isEnabled, removeComponentListener, setEnabled, setFlowData, setLocale
 
Methods inherited from interface org.jwarp.common.IExceptionProvider
addExceptionListener, getExceptionListeners, removeAllExceptionListeners, removeExceptionListener
 

Field Detail

STATUS_CREATED

public static final int STATUS_CREATED

STATUS_ACTIVE

public static final int STATUS_ACTIVE

STATUS_CANCELLED

public static final int STATUS_CANCELLED

STATUS_ACCEPTED

public static final int STATUS_ACCEPTED
Method Detail

getTitle

public java.lang.String getTitle()
Return the screen title
Returns:
The title

isResizable

public boolean isResizable()
Indicates whether this screen is resizable by the user. By default, all screens are initially resizable.
Returns:
true if the user can resize this screen; false otherwise.

isSecure

public boolean isSecure()
Returns true if this form is a secure form.
Returns:
true for a secure form

isErrorScreen

public boolean isErrorScreen()
Returns true if this is a error screen.
Returns:
true for error screens

getTargetType

public int getTargetType()
Return the basic target type.
Returns:
The target type

getTarget

public java.lang.String getTarget()
Return the target compiler/implementor.
Returns:
The targeet implementation id

getStatus

public int getStatus()
Returns the current status of the screen
Returns:
The status

addScreenListener

public void addScreenListener(IScreenListener listener)
Add a new screen listener.
Parameters:
The - new listener

removeScreenListener

public void removeScreenListener(IScreenListener listener)
Remove a screen listener.
Parameters:
The - listener

getData

public java.util.Hashtable getData()
Return the predefined data.
Returns:
The predefined data

©   O R C A   S y s t e m s