LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyText

java.lang.Object
  extended by leon.view.LyComponent
      extended by leon.view.LyFieldItem
          extended by leon.view.LyTextBase
              extended by leon.view.LyText
All Implemented Interfaces:
LyGetIdInterface, LyGetLabelInterface, LySetLabelInterface, LyUpdateViewContentInterface

public class LyText
extends LyTextBase

The LyText class is a generated Java implementation that corresponds to the element TEXT of the descriptive grammar of the views (views.dtd). <TEXT> : Input Field of Text Type An input field of Text type allows displaying a graphical input or text consultation component. It does not comprise any element. It is possible to specify if the text should be hidden, if it should respect a given format, if it can be divided into several lines and the maximum number of characters that it can contain.

See Also:
See also tag TEXT of grammar leon_views.dtd.

Nested Class Summary
 
Nested classes/interfaces inherited from class leon.view.LyTextBase
LyTextBase.Scroll, LyTextBase.TextAlign, LyTextBase.Type
 
Nested classes/interfaces inherited from class leon.view.LyComponent
LyComponent.EventType
 
Field Summary
static int DEFAULT_NCOLS
          Default NCOLS value.
static int DEFAULT_NCOLS_EDITTABLE
          default NCOLS value in edit table.
static int DEFAULT_NROWS
          Default NROWS value.
static int DEFAULT_RICH_NCOLS_EDITTABLE
           
static boolean SHOW_ARROWS
          Indicates if we use arrows for formatted text inputs.
 
Fields inherited from class leon.view.LyTextBase
__VERSION
 
Fields inherited from class leon.view.LyComponent
_nbComponents, INIT_RESOURCE_ID, INTERNAL_ID_SEP, REWRITING_MODE, SEP_ID
 
Constructor Summary
LyText()
          Default constructor.
 
Method Summary
 boolean isShowArrows()
          Checks if value of attribute showArrows is set.
 void showArrows(boolean showArrows)
          Initializes attribute showArrows to the given value.
 
Methods inherited from class leon.view.LyTextBase
addCharType, cloneComponent, getArrowDown, getArrowUp, getAutoCompletionValues, getBean, getCharType, getCharTypeCount, getDisabledColor, getEnabledColor, getFont, getFontColor, getFormat, getId, getLabel, getNChars, getNCols, getNRows, getScroll, getScroll, getTemplate, getTextAlign, getTextAlign, getType, getType, insertCharType, isArrows, isDefaultArrowDown, isDefaultArrowUp, isDefaultDisabledColor, isDefaultEnabledColor, isDefaultFont, isDefaultFontColor, isEditable, isNotifyValueChanged, isSecret, isWrap, setArrowDown, setArrows, setArrowUp, setAutoCompletionValues, setBean, setDisabledColor, setEditable, setEnabledColor, setFont, setFontColor, setFormat, setId, setLabel, setNChars, setNCols, setNotifyValueChanged, setNRows, setScroll, setSecret, setTemplate, setTextAlign, setType, setWrap, writeXml
 
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

DEFAULT_NCOLS

public static int DEFAULT_NCOLS
Default NCOLS value.


DEFAULT_NCOLS_EDITTABLE

public static int DEFAULT_NCOLS_EDITTABLE
default NCOLS value in edit table.


DEFAULT_RICH_NCOLS_EDITTABLE

public static int DEFAULT_RICH_NCOLS_EDITTABLE

DEFAULT_NROWS

public static int DEFAULT_NROWS
Default NROWS value.


SHOW_ARROWS

public static boolean SHOW_ARROWS
Indicates if we use arrows for formatted text inputs.

Constructor Detail

LyText

public LyText()
Default constructor.

Method Detail

showArrows

public void showArrows(boolean showArrows)
Initializes attribute showArrows to the given value.

Parameters:
showArrows - Boolean indicating if attribute showArrows is set or unset.

isShowArrows

public boolean isShowArrows()
Checks if value of attribute showArrows is set.

Returns:
true if showArrows is set, false otherwise.

(c) January 2013 - W4 S.A.

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