|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.oktiva.mogno.Component
com.oktiva.mogno.Visual
com.oktiva.mogno.Container
This is the base class for container components.
Field Summary | |
protected java.lang.String |
afterEnd
Something to be put after the tag. |
java.lang.String |
content
|
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 |
Constructor Summary | |
Container()
|
Method Summary | |
protected void |
addChildsVector(Container c,
java.util.Vector v)
|
java.lang.String |
betweenColumns()
Method betweenColumns. |
java.lang.String |
betweenRows()
Method betweenRows. |
java.lang.String |
endColumn(int top,
int left,
Visual comp)
Method endColumn. |
java.lang.String |
endContainer()
Ends container's tag. |
java.lang.String |
endRow(int top)
Method endRow. |
protected java.util.Vector |
getChildsVector(Component obj)
Discover which components are inside obj. |
java.lang.String |
getContent()
|
java.util.Vector |
getFullComponentsVector()
|
protected java.util.Vector |
getOrderedChildNames()
|
java.util.Vector |
getOrderedChildsVector()
Discover which components are inside me, ordered by top and left. |
java.util.Vector |
nonAttributeGetters()
Method used to define what methods started with "get" or "is" are not component attributes getter methods. |
protected java.util.Vector |
orderChildsVector(java.util.Vector v)
|
protected Component |
selectParentComponent()
The parent component: this one or his owner. |
void |
setContent(java.lang.String content)
|
java.lang.String |
show()
Builds the HTML from the ordered childs list. |
java.lang.String |
startColumn(int top,
int left,
Visual comp)
Method startColumn. |
java.lang.String |
startContainer()
Starts container's tag. |
java.lang.String |
startRow(int top)
Method startRow. |
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, 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 |
Field Detail |
public java.lang.String content
protected java.lang.String afterEnd
Constructor Detail |
public Container()
Method Detail |
public java.lang.String getContent()
public void setContent(java.lang.String content)
public java.lang.String show() throws java.lang.Exception
show
in class Visual
java.lang.Exception
protected Component selectParentComponent()
(Component)owner==null?this:owner
protected java.util.Vector getChildsVector(Component obj)
obj
-
protected java.util.Vector orderChildsVector(java.util.Vector v)
public java.util.Vector getOrderedChildsVector()
Visual.top
,
Visual.left
public java.util.Vector getFullComponentsVector()
protected java.util.Vector getOrderedChildNames()
getOrderedChildNames
in class Component
protected void addChildsVector(Container c, java.util.Vector v)
public java.util.Vector nonAttributeGetters()
Component
Vector v = super.nonAttributeGetters();
return v;
nonAttributeGetters
in class Component
Component.setProperties(Hashtable)
,
Component.attribsHash()
,
Component.store()
public java.lang.String endRow(int top)
public java.lang.String betweenRows()
public java.lang.String endColumn(int top, int left, Visual comp)
top
- The top index.left
- The left index.comp
- the Visual for wich this column is
public java.lang.String betweenColumns()
public java.lang.String startColumn(int top, int left, Visual comp)
top
- The top index.left
- The left index.comp
- the Visual for wich this column is
public java.lang.String startRow(int top)
public java.lang.String startContainer()
public java.lang.String endContainer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |