LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyHRef

java.lang.Object
  extended by leon.view.LyComponent
      extended by leon.view.LyFieldItem
          extended by leon.view.LyHRef
All Implemented Interfaces:
LyGetIdInterface, LyGetLabelInterface, LySetImageInterface, LySetLabelInterface, LySetSensitiveInterface, LySetVisitedInterface, LyUpdateViewContentInterface

public class LyHRef
extends LyFieldItem
implements LyGetIdInterface, LyGetLabelInterface, LySetLabelInterface, LySetImageInterface, LySetVisitedInterface, LySetSensitiveInterface

The LyHRef class is a generated Java implementation that corresponds to the element HREF of the descriptive grammar of the views (views.dtd). <HREF> : Input Field of Hyperlink Type An input field of Hyperlink type allows displaying a graphical component containing an hyperlink. This link allows launching an action by a simple click. It does not contain any element.

See Also:
See also tag HREF 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
LyHRef()
          Default constructor.
 
Method Summary
 LyComponent cloneComponent()
          Method for cloning a component.
 java.lang.String getBean()
          Gets value of bean.
 java.lang.String getColor()
          Gets value of color.
 java.lang.String getDisabledFontColor()
          Gets value of disabledFontColor.
 java.lang.String getFont()
          Gets value of font.
 java.lang.String getFontColor()
          Gets value of fontColor.
 java.lang.String getHighlightColor()
          Gets value of highlightColor.
 java.lang.String getId()
          Gets value of id.
 java.lang.String getImage()
          Gets value of image.
 java.lang.String getLabel()
          Gets value of label.
 int getNCols()
          Gets value of nCols.
 LyHRef getTemplate()
          Gets value of template.
 java.lang.String getVisitedFontColor()
          Gets value of visitedFontColor.
 boolean isDefaultColor()
          Checks whether the color attribute is valuated to the default value.
 boolean isDefaultDisabledFontColor()
          Checks whether the disabledFontColor 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 isDefaultHighlightColor()
          Checks whether the highlightColor attribute is valuated to the default value.
 boolean isDefaultImage()
          Checks whether the image attribute is valuated to the default value.
 boolean isDefaultVisitedFontColor()
          Checks whether the visitedFontColor attribute is valuated to the default value.
 boolean isSensitive()
          Checks if value of attribute sensitive is set.
 boolean isVisited()
          Checks if value of attribute visited is set.
 void setBean(java.lang.String bean)
          Initializes attribute bean to the given value.
 void setColor(java.lang.String color)
          Initializes attribute color to the given value.
 void setDisabledFontColor(java.lang.String disabledFontColor)
          Initializes attribute disabledFontColor 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 setHighlightColor(java.lang.String highlightColor)
          Initializes attribute highlightColor to the given value.
 void setId(java.lang.String id)
          Initializes attribute id to the given value.
 void setImage(java.lang.String image)
          Sets attribute image to the given value.
 void setLabel(java.lang.String label)
          Sets attribute label to the given value.
 void setNCols(int nCols)
          Initializes attribute nCols to the given value.
 void setSensitive(boolean sensitive)
          Sets attribute sensitive to the given value.
 void setTemplate(LyHRef template)
          Initializes attribute template to the given value.
 void setVisited(boolean visited)
          Sets attribute visited to the given value.
 void setVisitedFontColor(java.lang.String visitedFontColor)
          Initializes attribute visitedFontColor 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.LyFieldItem
addBeanData, buildBean, free, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, setBeanComponent, setBeanDatas, setFieldValue, updateViewContent, validateInput
 
Methods inherited from class leon.view.LyComponent
addComponent, addData, addEventFunction, clearChildrenBounds, freeze, getBounds, 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

LyHRef

public LyHRef()
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 LyHRef 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.

getImage

public java.lang.String getImage()
Gets value of image.

Returns:
value of image.

isDefaultImage

public boolean isDefaultImage()
Checks whether the image attribute is valuated to the default value.

Returns:
True if default, false otherwise.

isVisited

public boolean isVisited()
Checks if value of attribute visited is set.

Returns:
true if visited is set, false otherwise.

isSensitive

public boolean isSensitive()
Checks if value of attribute sensitive is set.

Returns:
true if sensitive is set, false otherwise.

getBean

public java.lang.String getBean()
Gets value of bean.

Overrides:
getBean in class LyFieldItem
Returns:
value of bean.

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.

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.

getDisabledFontColor

public java.lang.String getDisabledFontColor()
Gets value of disabledFontColor.

Returns:
value of disabledFontColor.

isDefaultDisabledFontColor

public boolean isDefaultDisabledFontColor()
Checks whether the disabledFontColor attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getVisitedFontColor

public java.lang.String getVisitedFontColor()
Gets value of visitedFontColor.

Returns:
value of visitedFontColor.

isDefaultVisitedFontColor

public boolean isDefaultVisitedFontColor()
Checks whether the visitedFontColor attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getHighlightColor

public java.lang.String getHighlightColor()
Gets value of highlightColor.

Returns:
value of highlightColor.

isDefaultHighlightColor

public boolean isDefaultHighlightColor()
Checks whether the highlightColor attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getNCols

public int getNCols()
Gets value of nCols.

Returns:
value of nCols.

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(LyHRef template)
Initializes attribute template to the given value.

Parameters:
template - New value of template.

setLabel

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

Specified by:
setLabel in interface LySetLabelInterface
Overrides:
setLabel in class LyFieldItem
Parameters:
label - New value of label.

setImage

public void setImage(java.lang.String image)
Sets attribute image to the given value.

Specified by:
setImage in interface LySetImageInterface
Parameters:
image - New value of image.

setVisited

public void setVisited(boolean visited)
Sets attribute visited to the given value.

Specified by:
setVisited in interface LySetVisitedInterface
Parameters:
visited - Boolean indicating if attribute visited is set or unset.

setSensitive

public void setSensitive(boolean sensitive)
Sets attribute sensitive to the given value.

Specified by:
setSensitive in interface LySetSensitiveInterface
Parameters:
sensitive - Boolean indicating if attribute sensitive is set or unset.

setBean

public void setBean(java.lang.String bean)
Initializes attribute bean to the given value.

Overrides:
setBean in class LyFieldItem
Parameters:
bean - New value of bean.

setFont

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

Parameters:
font - New value of font.

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.

setDisabledFontColor

public void setDisabledFontColor(java.lang.String disabledFontColor)
Initializes attribute disabledFontColor to the given value.

Parameters:
disabledFontColor - New value of disabledFontColor.

setVisitedFontColor

public void setVisitedFontColor(java.lang.String visitedFontColor)
Initializes attribute visitedFontColor to the given value.

Parameters:
visitedFontColor - New value of visitedFontColor.

setHighlightColor

public void setHighlightColor(java.lang.String highlightColor)
Initializes attribute highlightColor to the given value.

Parameters:
highlightColor - New value of highlightColor.

setNCols

public void setNCols(int nCols)
Initializes attribute nCols to the given value.

Parameters:
nCols - New value of nCols.

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