LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyHeadersBase

java.lang.Object
  extended by leon.view.LyComponent
      extended by leon.view.LyHeadersBase
All Implemented Interfaces:
LyGetIdInterface, LyGetLabelInterface
Direct Known Subclasses:
LyHeaders

public abstract class LyHeadersBase
extends LyComponent
implements LyGetIdInterface, LyGetLabelInterface

The LyHeadersBase class is a generated Java implementation that corresponds to the element HEADERS of the descriptive grammar of the views (views.dtd). <HEADERS> : Headers group A headers allows displaying header at the top of a table. Headers element does not contain any element: it is only a non-empty list of headers or sub-headers.

See Also:
LyComponent, See also tag HEADERS of grammar leon_views.dtd.

Nested Class Summary
 
Nested classes/interfaces inherited from class leon.view.LyComponent
LyComponent.EventType
 
Field Summary
static java.lang.String __VERSION
           
 
Fields inherited from class leon.view.LyComponent
_nbComponents, INIT_RESOURCE_ID, INTERNAL_ID_SEP, REWRITING_MODE, SEP_ID
 
Constructor Summary
LyHeadersBase()
          Default constructor.
 
Method Summary
 void addHeader(LyHeader header)
          Adds a sub-component header.
 void addHeaders(LyHeaders headers)
          Adds a sub-component headers.
 LyComponent cloneComponent()
          Method for cloning a component.
 LyHeader.Align getAlign()
          Gets value of align.
 java.lang.String getColor()
          Gets value of color.
 LyComponent getComponent(int i)
          Get sub-component Component of index i.
 int getComponentCount()
          Get sub-component Component count.
 java.lang.String getFont()
          Gets value of font.
 java.lang.String getFontColor()
          Gets value of fontColor.
 java.lang.String getId()
          Gets value of id.
 java.lang.String getLabel()
          Gets value of label.
 java.lang.String getOverview()
          Gets value of overview.
 java.lang.String getSortableFont()
          Gets value of sortableFont.
 LyHeaders getTemplate()
          Gets value of template.
 java.lang.String getTooltip()
          Gets value of tooltip.
 void insertHeader(LyHeader header, int pos)
          Inserts a sub-component header at given position.
 void insertHeaders(LyHeaders headers, int pos)
          Inserts a sub-component headers at given position.
 boolean isDefaultColor()
          Checks whether the color attribute is valuated to the default value.
 boolean isDefaultFont()
          Checks whether the font attribute is valuated to the default value.
 boolean isDefaultFontColor()
          Checks whether the fontColor attribute is valuated to the default value.
 boolean isDefaultSortableFont()
          Checks whether the sortableFont attribute is valuated to the default value.
 void setAlign(LyHeader.Align align)
          Initializes attribute align to the given value.
 void setColor(java.lang.String color)
          Initializes attribute color to the given value.
 void setFont(java.lang.String font)
          Initializes attribute font to the given value.
 void setFontColor(java.lang.String fontColor)
          Initializes attribute fontColor to the given value.
 void setId(java.lang.String id)
          Initializes attribute id to the given value.
 void setLabel(java.lang.String label)
          Initializes attribute label to the given value.
 void setOverview(java.lang.String overview)
          Initializes attribute overview to the given value.
 void setSortableFont(java.lang.String sortableFont)
          Initializes attribute sortableFont to the given value.
 void setTemplate(LyHeaders template)
          Initializes attribute template to the given value.
 void setTooltip(java.lang.String tooltip)
          Initializes attribute tooltip to the given value.
 void writeXml(java.io.PrintWriter pw, boolean debug)
          Method to rewrite XML corresponding to this component.
 
Methods inherited from class leon.view.LyComponent
addComponent, addData, addEventFunction, clearChildrenBounds, free, freeze, getBounds, getChild, getChildCount, getChildFromCache, getChildrenBounds, getComponent, getComponent, getComponent, getComponent, getComponent, getComponentAt, getComponentAt, getComponentByInternalId, getComponentByLabel, getComponents, getComponentWithModel, getData, getDatas, getEnvironment, getEventFunctions, getIdCode, getInternalId, getInternalView, getInternalView, getLock, getModel, getParent, getParentArea, getParentForm, getParentFormFieldId, getParentSplitter, getParentSplitter, getParentTab, getParentTab, getParentTabs, getParentTabs, getParentView, getRootController, getSetVisibleParent, getTag, getViewManager, isFreed, isFreeing, registerChildrenBounds, removeComponent, reset, resetChildrenCache, resetEventFunctions, setDatas, setInternalView, setVisible, useEventDefaultFunction, writeXml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyHeadersBase

public LyHeadersBase()
Default constructor.

Method Detail

cloneComponent

public LyComponent cloneComponent()
Method for cloning a component.

Specified by:
cloneComponent in class LyComponent

getId

public java.lang.String getId()
Gets value of id.

Specified by:
getId in interface LyGetIdInterface
Overrides:
getId in class LyComponent
Returns:
value of id.

getTemplate

public LyHeaders getTemplate()
Gets value of template.

Returns:
value of template.

getLabel

public java.lang.String getLabel()
Gets value of label.

Specified by:
getLabel in interface LyGetLabelInterface
Returns:
value of label.

getAlign

public LyHeader.Align getAlign()
Gets value of align.

Returns:
value of align.

getTooltip

public java.lang.String getTooltip()
Gets value of tooltip.

Returns:
value of tooltip.

getOverview

public java.lang.String getOverview()
Gets value of overview.

Returns:
value of overview.

getFont

public java.lang.String getFont()
Gets value of font.

Returns:
value of font.

isDefaultFont

public boolean isDefaultFont()
Checks whether the font attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getSortableFont

public java.lang.String getSortableFont()
Gets value of sortableFont.

Returns:
value of sortableFont.

isDefaultSortableFont

public boolean isDefaultSortableFont()
Checks whether the sortableFont attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getColor

public java.lang.String getColor()
Gets value of color.

Returns:
value of color.

isDefaultColor

public boolean isDefaultColor()
Checks whether the color attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getFontColor

public java.lang.String getFontColor()
Gets value of fontColor.

Returns:
value of fontColor.

isDefaultFontColor

public boolean isDefaultFontColor()
Checks whether the fontColor attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getComponent

public LyComponent getComponent(int i)
Get sub-component Component of index i.

Parameters:
i - the index of the Component to get.
Returns:
sub-component Component of index i.

getComponentCount

public int getComponentCount()
Get sub-component Component count.

Returns:
sub-component Component count.

setId

public void setId(java.lang.String id)
Initializes attribute id to the given value.

Parameters:
id - New value of id.

setTemplate

public void setTemplate(LyHeaders template)
Initializes attribute template to the given value.

Parameters:
template - New value of template.

setLabel

public void setLabel(java.lang.String label)
Initializes attribute label to the given value.

Parameters:
label - New value of label.

setAlign

public void setAlign(LyHeader.Align align)
Initializes attribute align to the given value.

Parameters:
align - New value of align.
Throws:
java.lang.IllegalArgumentException - if align parameter is null.

setTooltip

public void setTooltip(java.lang.String tooltip)
Initializes attribute tooltip to the given value.

Parameters:
tooltip - New value of tooltip.

setOverview

public void setOverview(java.lang.String overview)
Initializes attribute overview to the given value.

Parameters:
overview - New value of overview.

setFont

public void setFont(java.lang.String font)
Initializes attribute font to the given value.

Parameters:
font - New value of font.

setSortableFont

public void setSortableFont(java.lang.String sortableFont)
Initializes attribute sortableFont to the given value.

Parameters:
sortableFont - New value of sortableFont.

setColor

public void setColor(java.lang.String color)
Initializes attribute color to the given value.

Parameters:
color - New value of color.

setFontColor

public void setFontColor(java.lang.String fontColor)
Initializes attribute fontColor to the given value.

Parameters:
fontColor - New value of fontColor.

addHeader

public void addHeader(LyHeader header)
Adds a sub-component header.

Parameters:
header - The header to add to components list.

insertHeader

public void insertHeader(LyHeader header,
                         int pos)
Inserts a sub-component header at given position.

Parameters:
header - The header to add to components list.
pos - Position where the sub-component is inserted.

addHeaders

public void addHeaders(LyHeaders headers)
Adds a sub-component headers.

Parameters:
headers - The headers to add to components list.

insertHeaders

public void insertHeaders(LyHeaders headers,
                          int pos)
Inserts a sub-component headers at given position.

Parameters:
headers - The headers to add to components list.
pos - Position where the sub-component is inserted.

writeXml

public void writeXml(java.io.PrintWriter pw,
                     boolean debug)
Method to rewrite XML corresponding to this component.

Specified by:
writeXml in class LyComponent
Parameters:
pw - the printWriter on which the XML is written.
debug - true if debug mode (full dump).

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com