com.oktiva.mogno.additional
Class Include
java.lang.Object
com.oktiva.mogno.Component
com.oktiva.mogno.Visual
com.oktiva.mogno.additional.Include
- All Implemented Interfaces:
- java.lang.Cloneable
- public class Include
- extends Visual
Includes another TopLevel inside.
This component allows you to include another TopLevel component inside a
container (i.e.: a Page
).
The included component is created and destroyed in the show method.
If the included component has any action, it must be declared at the
Application
XML.
- Version:
- $Id: Include.java,v 1.1.1.1 2005/01/05 16:52:53 ruoso Exp $
- Author:
- Itamar Carvalho <itamar@oktiva.com.br> and others.
- See Also:
Included
Field Summary |
java.lang.String |
className
The classname of the component. |
java.lang.String |
topLevelName
The name of the included TopLevel. |
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.Visual |
buildHtmlAttributes, cellhalignHtmlAttributes, cellvalignHtmlAttributes, checkSyntax, coreHtmlAttributes, descendentOf, 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, getApplication, getAttrsTypes, getBag, getChild, getChildClass, getClone, getEvOnCreate, getFromBag, getName, getOrderedChildNames, getOwner, initialize, initialize, initialize, initialize, isDesigning, listChilds, nonAttributeGetters, 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 |
topLevelName
public java.lang.String topLevelName
- The name of the included TopLevel.
className
public java.lang.String className
- The classname of the component.
Include
public Include()
getTopLevelName
public java.lang.String getTopLevelName()
setTopLevelName
public void setTopLevelName(java.lang.String topLevelName)
getClassName
public java.lang.String getClassName()
setClassName
public void setClassName(java.lang.String className)
show
public java.lang.String show()
throws java.lang.Exception
- Description copied from class:
Visual
- Implements just the dispatching of the onShow event
- Overrides:
show
in class Visual
- Throws:
java.lang.Exception