leon.view
Class LyCanvas
java.lang.Object
leon.view.LyComponent
leon.view.LyFieldItem
leon.view.LyPanel
leon.view.LyCanvasBase
leon.view.LyCanvas
- All Implemented Interfaces:
- LyGetConstraintInterface, LyGetControllerInterface, LyGetIdInterface, LyPdfInterface, LySetControllerInterface, LySetWaitingInterface, LyUpdateViewContentInterface
public class LyCanvas
- extends LyCanvasBase
The LyCanvas class implements generic behavior for the CANVAS components as described in views.dt
regardless of the requested target (win, swing, html...) It represents CLASS_CANVAS.
- See Also:
LyComponent
Field Summary |
static java.lang.String |
__VERSION
|
Constructor Summary |
LyCanvas(java.lang.String javaName)
Constructor with all required attributes. |
Method Summary |
LyViewComponent |
getInternalView(boolean build)
Get internal view implementation. |
void |
postDemand(int type,
java.lang.String source,
java.util.Hashtable<java.lang.String,java.lang.String> parameterValues)
Utility method to post a demand to controller registered on this canvas. |
void |
postDemand(java.lang.String source)
Utility method to post a TYPE_ACTION demand to controller registered on this canvas. |
void |
postDemand(java.lang.String source,
java.util.Hashtable<java.lang.String,java.lang.String> parameterValues)
Utility method to post a TYPE_ACTION demand to controller registered on this canvas. |
Methods inherited from class leon.view.LyCanvasBase |
cloneComponent, getConstraint, getController, getId, getJavaName, getTemplate, getUserData, setConstraint, setController, setId, setJavaName, setTemplate, setUserData, writeXml |
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, freeze, getBounds, getChildFromCache, getChildrenBounds, getComponent, getComponent, getComponent, getComponent, getComponent, getComponentAt, getComponentAt, getComponentByInternalId, getComponentByLabel, getComponents, getComponentWithModel, getData, getDatas, getEnvironment, getEventFunctions, getIdCode, getInternalId, 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 |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
LyCanvas
public LyCanvas(java.lang.String javaName)
- Constructor with all required attributes.
getInternalView
public LyViewComponent getInternalView(boolean build)
- Get internal view implementation.
- Overrides:
getInternalView
in class LyComponent
- Parameters:
build
- Indicates if this representation should be built if it doesn't exist.
postDemand
public void postDemand(int type,
java.lang.String source,
java.util.Hashtable<java.lang.String,java.lang.String> parameterValues)
- Utility method to post a demand to controller registered on this canvas.
- Parameters:
type
- Demand type (see LyActionDemand.TYPE_XXX).source
- Id of the demand.parameterValues
- Table of parameter values.
postDemand
public final void postDemand(java.lang.String source,
java.util.Hashtable<java.lang.String,java.lang.String> parameterValues)
- Utility method to post a TYPE_ACTION demand to controller registered on this canvas.
- Parameters:
source
- Id of the demand.parameterValues
- Table of parameter values.
postDemand
public final void postDemand(java.lang.String source)
- Utility method to post a TYPE_ACTION demand to controller registered on this canvas.
- Parameters:
source
- Id of the demand.
Website: W4 S.A., contact us: support@w4global.com