public class GTextAreaWithLabel extends GContainer implements GDisplay, GClear
| Index | Class | Item | Constraint |
| 0 | GLabel | label | "newline" |
| 1 | GTextArea | this.widgetId | "newline" |
GComponent.CopyPasteOperation, GComponent.DisplayIndicatorStatus, GComponent.ItemType, GComponent.OperationNAME_ATTRIBUTE| Constructor and Description |
|---|
GTextAreaWithLabel()
Constructor.
|
GTextAreaWithLabel(String widgetId)
Constructor.
|
GTextAreaWithLabel(String widgetId,
String label)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Called when the element is to be cleared, so it can perform the actions required to return to the last
saved/loaded values.
|
void |
display()
Called when the element is to be displayed, so it can perform the actions required for its display, and
the display of its inmmediate descendants.
|
void |
generic()
The prototype of the generic function that shall exist in all the descendants.
|
GLabel |
getGLabel()
Get the GLabel component.
|
GTextArea |
getGTextArea()
Get the GTextArea component.
|
GComponent |
getSubComponent(int position)
Gets the subcomponent occupying the position defined by position.
|
boolean |
isEnabled()
Gets the enable status of the widget.
|
protected void |
setDefaultConstraints()
Set default constraints.
|
void |
setEnabled(boolean flag)
Set the enable status of the component.
|
void |
setStringConstraint(String constraints)
Set the constraint in string format for the component.
|
void |
setWidgetId(String widgetId)
Sets the widget identifier of the component.
|
putactivateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getPathInConfigFile, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isForcedStatus, isModified, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, processMouseWheelEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setToolTipText, setWidth, setWindowBusyCursor, updateIsModifiedIndicator, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItempublic GTextAreaWithLabel()
public GTextAreaWithLabel(String widgetId)
widgetId - widget identifier.protected void setDefaultConstraints()
GComponentsetDefaultConstraints in class GComponentpublic GComponent getSubComponent(int position) throws GComponentException
getSubComponent in class GComponentposition - position of the requested component.GComponentException - in case the position argument is invalid.public GTextArea getGTextArea()
public GLabel getGLabel()
public void setWidgetId(String widgetId)
GComponentsetWidgetId in class GComponentwidgetId - the widget identifier of the component.public void generic()
throws GException
GContainergeneric in class GContainerGException - In case of problem.public void display()
throws GException
GDisplaydisplay in interface GDisplayGException - in case of problem while reading the value from file.public void setEnabled(boolean flag)
GComponentsetEnabled in class GComponentflag - new enable status of the component.public boolean isEnabled()
GComponentisEnabled in class GComponentpublic void clear()
GClearpublic void setStringConstraint(String constraints)
setStringConstraint in class GComponentconstraints - constraint in string format to set for the component.Copyright © 2024. All rights reserved.