com.oktiva.mogno.html
Class Script
java.lang.Object
com.oktiva.mogno.Component
com.oktiva.mogno.Visual
com.oktiva.mogno.Container
com.oktiva.mogno.html.Script
- All Implemented Interfaces:
- java.lang.Cloneable
- public class Script
- extends Container
- Version:
- $Id: Script.java,v 1.1.1.1 2005/01/05 16:53:15 ruoso Exp $
Field Summary |
java.lang.String |
charset
HTML attribute |
java.lang.String |
defer
HTML attribute |
java.lang.String |
script
The Javascript source. |
java.lang.String |
src
HTML attribute |
java.lang.String |
type
HTML attribute |
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 |
Method Summary |
java.lang.String |
getCharset()
|
java.lang.String |
getDefer()
|
java.lang.String |
getScript()
|
java.lang.String |
getSrc()
|
java.lang.String |
getType()
|
java.util.Vector |
htmlAttributes()
Valid HTML attributes for this component. |
void |
setCharset(java.lang.String charset)
|
void |
setDefer(java.lang.String defer)
|
void |
setScript(java.lang.String script)
|
void |
setSrc(java.lang.String src)
|
void |
setType(java.lang.String type)
|
java.lang.String |
show()
Builds the HTML from the ordered childs list.
|
Methods inherited from class com.oktiva.mogno.Container |
addChildsVector, betweenColumns, betweenRows, endColumn, endContainer, endRow, getChildsVector, getContent, getFullComponentsVector, getOrderedChildNames, getOrderedChildsVector, nonAttributeGetters, orderChildsVector, selectParentComponent, setContent, startColumn, startContainer, startRow |
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, 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, 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 |
script
public java.lang.String script
- The Javascript source.
charset
public java.lang.String charset
- HTML attribute
type
public java.lang.String type
- HTML attribute
src
public java.lang.String src
- HTML attribute
defer
public java.lang.String defer
- HTML attribute
Script
public Script()
getScript
public java.lang.String getScript()
setScript
public void setScript(java.lang.String script)
getCharset
public java.lang.String getCharset()
setCharset
public void setCharset(java.lang.String charset)
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
getSrc
public java.lang.String getSrc()
setSrc
public void setSrc(java.lang.String src)
getDefer
public java.lang.String getDefer()
setDefer
public void setDefer(java.lang.String defer)
htmlAttributes
public java.util.Vector htmlAttributes()
- Description copied from class:
Visual
- Valid HTML attributes for this component.
All this attributes must be properties of the class.
- Overrides:
htmlAttributes
in class Visual
show
public java.lang.String show()
throws java.lang.Exception
- Description copied from class:
Container
- Builds the HTML from the ordered childs list.
When a component has gridWidth or gridHeight, the number of
startColumns, endColumns, startRow and endRows called will still
depend of the last top and left.
Ex.: If you have a component with left 0 and gridWidth 2 and
you have another component with left 2, there will be three calls
to startColumn
- Overrides:
show
in class Container
- Throws:
java.lang.Exception