com.oktiva.mogno.html
Class Style

java.lang.Object
  extended bycom.oktiva.mogno.Component
      extended bycom.oktiva.mogno.Visual
          extended bycom.oktiva.mogno.Container
              extended bycom.oktiva.mogno.html.Style
All Implemented Interfaces:
java.lang.Cloneable

public class Style
extends Container

Version:
$Id: Style.java,v 1.1.1.1 2005/01/05 16:53:16 ruoso Exp $

Field Summary
 java.lang.String css
          The Cascading Style Sheet text.
 java.lang.String dir
          Internationalization HTML attribute
 java.lang.String lang
          Internationalization HTML attribute
 java.lang.String media
          HTML attribute
 java.lang.String title
          HTML attribute
 java.lang.String type
          HTML attribute
 
Fields inherited from class com.oktiva.mogno.Container
afterEnd, content
 
Fields inherited from class com.oktiva.mogno.Visual
evOnShow, evOnSyntaxError, gridHeight, gridWeightX, gridWeightY, gridWidth, id, lastError, left, parent, problematic, style, styleClass, top
 
Fields inherited from class com.oktiva.mogno.Component
bag, componentFiler, componentFilerParams, designing, eventQueue, evOnCreate, name, owned, ownedClasses, owner, tag, xmlFileName
 
Constructor Summary
Style()
           
 
Method Summary
 java.lang.String getCss()
           
 java.lang.String getDir()
           
 java.lang.String getLang()
           
 java.lang.String getMedia()
           
 java.lang.String getTitle()
           
 java.lang.String getType()
           
 java.util.Vector htmlAttributes()
          Valid HTML attributes for this component.
 void setCss(java.lang.String css)
           
 void setDir(java.lang.String dir)
           
 void setLang(java.lang.String lang)
           
 void setMedia(java.lang.String media)
           
 void setTitle(java.lang.String title)
           
 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, getTop, i18nHtmlAttributes, localizableAttributes, receiveRequest, setEvOnShow, setEvOnSyntaxError, setGridHeight, setGridWeightX, setGridWeightY, setGridWidth, setId, setLastError, setLeft, setParent, setStyle, setStyleClass, 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
 

Field Detail

css

public java.lang.String css
The Cascading Style Sheet text.


lang

public java.lang.String lang
Internationalization HTML attribute


dir

public java.lang.String dir
Internationalization HTML attribute


media

public java.lang.String media
HTML attribute


type

public java.lang.String type
HTML attribute


title

public java.lang.String title
HTML attribute

Constructor Detail

Style

public Style()
Method Detail

getCss

public java.lang.String getCss()

setCss

public void setCss(java.lang.String css)

getLang

public java.lang.String getLang()

setLang

public void setLang(java.lang.String lang)

getDir

public java.lang.String getDir()

setDir

public void setDir(java.lang.String dir)

getMedia

public java.lang.String getMedia()

setMedia

public void setMedia(java.lang.String media)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getTitle

public java.lang.String getTitle()
Overrides:
getTitle in class Visual

setTitle

public void setTitle(java.lang.String title)
Overrides:
setTitle in class Visual

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