LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyDictionary

java.lang.Object
  extended by leon.view.LyComponent
      extended by leon.view.LyFieldItem
          extended by leon.view.LyDictionaryBase
              extended by leon.view.LyDictionary
All Implemented Interfaces:
LyGetIdInterface, LyUpdateViewContentInterface

public class LyDictionary
extends LyDictionaryBase

The LyDictionary class implements generic behavior for the DICTIONNARY components as described in views.dtd regardless of the requested target (win, swing, html...). It represents a dictionary component.

See Also:
LyComponent

Nested Class Summary
 
Nested classes/interfaces inherited from class leon.view.LyDictionaryBase
LyDictionaryBase.SelectionType
 
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
LyDictionary()
          Constructor with all required attributes.
 
Method Summary
 LyEntry getEntry(java.lang.String id)
          Retrieves an option from its id.
 boolean isRootHidden()
          Indicates if this dictionary has its root hidden or not.
 void setRootHidden(boolean hidden)
          Indicates that this dictionary has its root hidden or not.
 
Methods inherited from class leon.view.LyDictionaryBase
cloneComponent, getBean, getColor, getDisabledColor, getEnabledColor, getEntry, getFont, getFontColor, getId, getImageSelector, getNCols, getNRows, getSelectionType, getSelectionType, getTemplate, isDefaultColor, isDefaultDisabledColor, isDefaultEnabledColor, isDefaultFont, isDefaultFontColor, isDefaultImageSelector, isMultiple, setBean, setColor, setDisabledColor, setEnabledColor, setEntry, setFont, setFontColor, setId, setImageSelector, setMultiple, setNCols, setNRows, setSelectionType, setTemplate, writeXml
 
Methods inherited from class leon.view.LyFieldItem
addBeanData, buildBean, free, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, setBeanComponent, setBeanDatas, setFieldValue, setLabel, 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

LyDictionary

public LyDictionary()
Constructor with all required attributes.

Method Detail

getEntry

public LyEntry getEntry(java.lang.String id)
Retrieves an option from its id.


isRootHidden

public boolean isRootHidden()
Indicates if this dictionary has its root hidden or not.


setRootHidden

public void setRootHidden(boolean hidden)
Indicates that this dictionary has its root hidden or not. WARNING : this indicator is not dynamic and must be set during the dictionary initialization.

Parameters:
hidden - true to hide the root, false otherwise.

(c) January 2013 - W4 S.A.

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