@StableMinor(version="12.5", sinceVersion="4.0") public interface IControl
Modifier and Type | Method and Description |
---|---|
void |
buildSubControls() |
void |
createContainer(String containerId)
Creates a container for the control.
|
void |
disconnect() |
List<IControl> |
getChildControls() |
IResource |
getControlResource() |
String |
getId() |
String |
getName()
Returns the name for this control.
|
IControl |
getParentControl() |
String |
getPrepareForReadScript() |
String |
getRenderData()
Returns an xml string representation of the control for rendering via xsl.
|
List<IResource> |
getResources() |
String |
getType() |
void |
init(Node controlDefinitionNode,
ControlContainer controlContainer,
IControl parentControl) |
boolean |
isValid() |
void |
registerOnEventScript(String onEvent,
String script) |
void |
removeChild(IControl childControl) |
void |
removeChildren() |
void |
setRenderData() |
void |
setRuntimeAttributes()
Replaces runtime attributes in this control's definition node with their evaluated values.
|
void |
setValid(boolean isValid) |
void init(Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl) throws PortalException
PortalException
void buildSubControls() throws PortalException
PortalException
String getId()
String getType()
String getName()
null
may be returned if the control
has no name.List<IControl> getChildControls() throws PortalException
PortalException
void setRenderData() throws PortalException
PortalException
IControl getParentControl()
IResource getControlResource() throws PortalException
PortalException
void registerOnEventScript(String onEvent, String script) throws PortalException
PortalException
boolean isValid() throws PortalException
PortalException
void setValid(boolean isValid) throws PortalException
PortalException
List<IResource> getResources() throws PortalException
PortalException
void disconnect() throws PortalException
PortalException
void removeChild(IControl childControl) throws PortalException
PortalException
void removeChildren() throws PortalException
PortalException
String getPrepareForReadScript() throws PortalException
PortalException
void createContainer(String containerId) throws PortalException
This method us used by the framework when a control needs to be updated client side.
containerId
- PortalException
String getRenderData() throws PortalException
PortalException
void setRuntimeAttributes()
This method is executed before setRenderData()
by the ControlContainer
.
ControlContainer
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.