|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Controls
The Controls
interface acts as a parent object for all controls on all pages within a form. Individual controls are accessed
using their control name. When a control's name is not a valid Java identifier e.g. it begins with a numeric, the control can only be
accessed using the getControl(String)
method.
When running an event that forms part of a deployed component, only controls from the component can be accessed.
All included controls can be iterated using the following code:
for ( var control in Iterator(controls.iterator()) ) { log(control.elementName); }Examples:
controls.PANEL1.hide(); controls.getControl("23BUTTON").backgroundColor = "Yellow";
Method Summary | |
---|---|
Control |
getControl(java.lang.String controlName)
Returns the Control with name controlName . |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
Control getControl(java.lang.String controlName)
Control
with name controlName
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |