LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyPanel

java.lang.Object
  extended by leon.view.LyComponent
      extended by leon.view.LyFieldItem
          extended by leon.view.LyPanel
All Implemented Interfaces:
LyPdfInterface, LySetWaitingInterface, LyUpdateViewContentInterface
Direct Known Subclasses:
LyCanvasBase, LyChartBase, LyCommand, LyContainer, LyFormBase, LyFormFieldBase, LyGantt, LyMapBase, LyNotice, LyReporting, LySelectBar, LyTable, LyToolBase, LyTree

public abstract class LyPanel
extends LyFieldItem
implements LySetWaitingInterface, LyPdfInterface

This class implements the generic behavior of the following classes : LyTable, LyTree, LyMap.


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
LyPanel()
          Default constructor.
 
Method Summary
 void generatePdf(java.lang.String fileName)
          Generate the content of the panel in a PDF document.
 long getLastModified()
          Get the last modified date info (if any).
 boolean isIdle()
          Sets or unset the idle mode on the component/node.
 boolean isScrollable()
          Checks if the panel is scrollable or not.
 void print(LyPrintListenerInterface listener)
          Print the content of the panel.
 void setIdle(boolean status)
          Sets or unset the idle mode on the component/node.
 void setLastModified(long lastModified)
          Set the last modified date info (if any).
 void setPopupMenu(LyPopupMenu popup)
          Affectation of the popup menu.
 void setWaiting(boolean status)
          Accessor to the waiting status.
 
Methods inherited from class leon.view.LyFieldItem
addBeanData, buildBean, free, getBean, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, setBean, setBeanComponent, setBeanDatas, setFieldValue, setLabel, updateViewContent, validateInput
 
Methods inherited from class leon.view.LyComponent
addComponent, addData, addEventFunction, clearChildrenBounds, cloneComponent, freeze, getBounds, getChildFromCache, getChildrenBounds, getComponent, getComponent, getComponent, getComponent, getComponent, getComponentAt, getComponentAt, getComponentByInternalId, getComponentByLabel, getComponents, getComponentWithModel, getData, getDatas, getEnvironment, getEventFunctions, getId, 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, 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

LyPanel

public LyPanel()
Default constructor.

Method Detail

setIdle

public void setIdle(boolean status)
Sets or unset the idle mode on the component/node.

Parameters:
status - new idle status (LySetIdleInterface interface)

isIdle

public boolean isIdle()
Sets or unset the idle mode on the component/node.

Parameters:
status - new idle status (LySetIdleInterface interface)

isScrollable

public boolean isScrollable()
Checks if the panel is scrollable or not.

Returns:
True if scrollable, false otherwise.

setWaiting

public void setWaiting(boolean status)
Accessor to the waiting status.

Specified by:
setWaiting in interface LySetWaitingInterface
Parameters:
status - the new status
See Also:
LySetWaitingInterface.setWaiting(boolean)

setPopupMenu

public void setPopupMenu(LyPopupMenu popup)
Affectation of the popup menu.


print

public void print(LyPrintListenerInterface listener)
Print the content of the panel. Result depends on the nature of the panel and the display (win, web ...)


generatePdf

public void generatePdf(java.lang.String fileName)
                 throws java.io.IOException
Generate the content of the panel in a PDF document. Result depends on the nature of the panel and the display (win, web ...)

Specified by:
generatePdf in interface LyPdfInterface
Throws:
java.io.IOException

setLastModified

public void setLastModified(long lastModified)
Set the last modified date info (if any).

Parameters:
lastModified - last modification date or -1 means info not available, or not specified.

getLastModified

public long getLastModified()
Get the last modified date info (if any).

Returns:
last modification date or -1 means info not available, or not specified.

(c) January 2013 - W4 S.A.

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