Class AbstractGuiComponent
java.lang.Object
com.ptc.core.components.rendering.AbstractGuiComponent
- All Implemented Interfaces:
GuiComponent,com.ptc.netmarkets.util.misc.NmFormatable,Serializable
- Direct Known Subclasses:
AbstractGraphicalComponent,com.ptc.core.components.rendering.guicomponents.AttributeGuiComponent,GUIComponentArray,HTMLGuiComponent,SpinnerFieldComponent,VisualizationComponent
public abstract class AbstractGuiComponent
extends Object
implements GuiComponent, com.ptc.netmarkets.util.misc.NmFormatable, Serializable
The abstract super class for all JCA GUI components.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetColumnName(String columnName$) Sets the column name of component
Supported API: truevoidsetEnabled(boolean a_Enabled) a_Enabled=true: renders the component as an input field a_Enabled=false; renders the component as display-text (does not render an input field)
Supported API: truevoidSets the id of Gui Component
Supported API: truevoidSets the label of Gui Component
Supported API: truevoidsetMultiValued(boolean mv) Set whether the component is multi valued or not
Supported API: truevoidSets the name of Component
Supported API: true
-
Method Details
-
setEnabled
public void setEnabled(boolean a_Enabled) a_Enabled=true: renders the component as an input field a_Enabled=false; renders the component as display-text (does not render an input field)
Supported API: true- Parameters:
a_Enabled-
-
setLabel
Sets the label of Gui Component
Supported API: true- Parameters:
label$- label to be set
-
setId
Sets the id of Gui Component
Supported API: true- Parameters:
id$- Id to be set
-
setColumnName
Sets the column name of component
Supported API: true- Parameters:
columnName$- column name to be set
-
setName
Sets the name of Component
Supported API: true- Parameters:
n- name to be set
-
setMultiValued
public void setMultiValued(boolean mv) Set whether the component is multi valued or not
Supported API: true- Parameters:
mv- mv=true: renders the component as multi-valued mv=false; renders the component as single valued.
-