com.oktiva.mogno
Class TopLevel
java.lang.Object
com.oktiva.mogno.Component
com.oktiva.mogno.Visual
com.oktiva.mogno.Container
com.oktiva.mogno.TopLevel
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- DerivedPage, Included, Page
- public class TopLevel
- extends Container
This is the base class for the TopLevel Visual components,
like Page or Included
- Version:
- $Id: TopLevel.java,v 1.1.1.1 2005/01/05 16:52:48 ruoso Exp $
Fields inherited from class com.oktiva.mogno.Visual |
evOnShow, evOnSyntaxError, gridHeight, gridWeightX, gridWeightY, gridWidth, id, lastError, left, parent, problematic, style, styleClass, title, top |
Fields inherited from class com.oktiva.mogno.Component |
bag, componentFiler, componentFilerParams, designing, eventQueue, evOnCreate, name, owned, ownedClasses, owner, tag, xmlFileName |
Methods inherited from class com.oktiva.mogno.Container |
addChildsVector, betweenColumns, betweenRows, endColumn, endContainer, endRow, getChildsVector, getContent, getFullComponentsVector, getOrderedChildNames, getOrderedChildsVector, nonAttributeGetters, orderChildsVector, selectParentComponent, setContent, show, startColumn, startContainer, startRow |
Methods inherited from class com.oktiva.mogno.Visual |
buildHtmlAttributes, cellhalignHtmlAttributes, cellvalignHtmlAttributes, checkSyntax, coreHtmlAttributes, eventsHtmlAttributes, getEvOnShow, getEvOnSyntaxError, getGridHeight, getGridWeightX, getGridWeightY, getGridWidth, getId, getLastError, getLeft, getParent, getStyle, getStyleClass, getTitle, getTop, htmlAttributes, i18nHtmlAttributes, localizableAttributes, receiveRequest, setEvOnShow, setEvOnSyntaxError, setGridHeight, setGridWeightX, setGridWeightY, setGridWidth, setId, setLastError, setLeft, setParent, setStyle, setStyleClass, setTitle, setTop, showHtmlAttributes |
Methods inherited from class com.oktiva.mogno.Component |
attribsHash, createOwnedComponents, dispatch, dispatchAll, dispatchFunction, eventParamTypes, eventParamValues, freeChild, getAttrsTypes, getBag, getChild, getChildClass, getClone, getEvOnCreate, getFromBag, getName, getOwner, initialize, initialize, initialize, initialize, isDesigning, listChilds, putInBag, queue, registerChild, removeFromBag, serializedBag, setBag, setComponentFiler, setComponentFilerParams, setDesigning, setEvOnCreate, setName, setOwner, setProperties, store, unserializeBag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
application
protected Application application
evOnUncaughtError
public java.lang.String evOnUncaughtError
- Event dispatched when some exception is not caught in the
inner components
evOnMessage
public java.lang.String evOnMessage
- Event dispatched when a message is received.
TopLevel
public TopLevel()
setApplication
public void setApplication(Application app)
getEvOnUncaughtError
public java.lang.String getEvOnUncaughtError()
setEvOnUncaughtError
public void setEvOnUncaughtError(java.lang.String evOnUncaughtError)
getEvOnMessage
public java.lang.String getEvOnMessage()
setEvOnMessage
public void setEvOnMessage(java.lang.String evOnMessage)
message
public void message(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Throws:
java.lang.Exception
checkSyntax
public void checkSyntax(java.util.Vector fields)
throws SyntaxErrorException
- This function is overrided to check the syntax of owned components.
- Parameters:
fields
- A Vector with the name of the components to be tested
- Throws:
SyntaxErrorException
getApplication
public Application getApplication()
- Description copied from class:
Component
- Get the Application object from the TopLevel.
- Overrides:
getApplication
in class Component
- Returns:
- the application of this TopLevel.
- See Also:
Component.getApplication()
descendentOf
public boolean descendentOf(java.lang.String name)
- Verify if this component has an ancestor named name
In TopLevel, this is always false, because there is no parent.
- Overrides:
descendentOf
in class Visual
- Parameters:
name
- The name of the ancestor component
- Returns:
- boolean always false
showPage
public void showPage(java.lang.String destiny)
throws java.lang.Exception
- Throws:
java.lang.Exception