LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyTool

java.lang.Object
  extended by leon.view.LyComponent
      extended by leon.view.LyFieldItem
          extended by leon.view.LyPanel
              extended by leon.view.LyToolBase
                  extended by leon.view.LyTool
All Implemented Interfaces:
LyGetConstraintInterface, LyGetIdInterface, LyGetLabelInterface, LyPdfInterface, LySetEnabledInterface, LySetImageInterface, LySetLabelInterface, LySetWaitingInterface, LyUpdateViewContentInterface

public class LyTool
extends LyToolBase

The LyTool class implements generic behavior for the TOOL components as described in views.dtd regardless of the requested target (win, swing, html...). It represents a tool.

See Also:
LyComponent

Nested Class Summary
 
Nested classes/interfaces inherited from class leon.view.LyToolBase
LyToolBase.Style
 
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
LyTool(java.lang.String id, java.lang.String label)
          Constructor with all required attributes.
 
Method Summary
 void setEnabled(boolean enabled)
          Sets attribute enabled to the given value.
 
Methods inherited from class leon.view.LyToolBase
cloneComponent, getClickColor, getColor, getComponent, getConstraint, getFont, getFontColor, getHeight, getId, getImage, getLabel, getOverview, getStyle, getStyle, getTemplate, getTooltip, getWidth, isDefaultClickColor, isDefaultColor, isDefaultFont, isDefaultFontColor, isDefaultImage, isDialog, isEnabled, isPressed, setClickColor, setColor, setComponent, setConstraint, setDialog, setFont, setFontColor, setHeight, setImage, setLabel, setOverview, setPressed, setStyle, setTemplate, setTooltip, setWidth, writeXml
 
Methods inherited from class leon.view.LyPanel
generatePdf, getLastModified, isIdle, isScrollable, print, setIdle, setLastModified, setPopupMenu, setWaiting
 
Methods inherited from class leon.view.LyFieldItem
addBeanData, buildBean, free, getBean, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, setBean, 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

LyTool

public LyTool(java.lang.String id,
              java.lang.String label)
Constructor with all required attributes.

Method Detail

setEnabled

public void setEnabled(boolean enabled)
Sets attribute enabled to the given value.

Specified by:
setEnabled in interface LySetEnabledInterface
Overrides:
setEnabled in class LyToolBase
Parameters:
enabled - Boolean indicating if attribute enabled is set or unset.

(c) January 2013 - W4 S.A.

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