public class GMultipleStructureChoice extends GPanel implements GListener
GPanel.Panel, GPanel.ScrollBarVisibilityGComponent.CopyPasteOperation, GComponent.DisplayIndicatorStatus, GComponent.ItemType, GComponent.OperationNAME_ATTRIBUTE| Constructor and Description |
|---|
GMultipleStructureChoice(String filename,
GComponent component)
Constructor .The widget identifier is created automatically
|
GMultipleStructureChoice(String filename,
GComponent component,
boolean useComponentName)
Constructor .The widget identifier is created automatically
|
GMultipleStructureChoice(String widgetId,
String filename,
GComponent component)
Constructor .The widget identifier is created automatically
|
GMultipleStructureChoice(String widgetId,
String filename,
GComponent component,
boolean useComponentName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
after(GEvent e)
Called after the event is processed.
|
void |
before(GEvent e)
Called before the event is processed.
|
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()
Abstract generic function that need to be implemented by the descendants.
|
GTree |
getGTree()
Return the GTree component.
|
TreeNode |
getRoot()
get the root node of the GTree
|
boolean |
isEnabled()
Gets the enable status of the widget.
|
boolean |
isExpanded()
check if the jtree is expanded ( for the GMultipleStructure, there is just one level of children
|
void |
setEnabled(boolean flag)
Set the enable status of the component.
|
void |
setVisible(boolean flag)
visibility of the component
|
clearConstraint, getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getLayoutConstraints, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, processMouseWheelEvent, put, setClassConstraint, setColumnConstraints, setConstraint, setDefaultConstraints, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setMargins, setPanelConstraints, setPreferredSize, setRowConstraints, setUnitIncrement, setVerticalScroll, unputactivateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getPathInConfigFile, getSimpleWidgetId, getStatus, getStringConstraint, getSubComponent, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isForcedStatus, isModified, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, setWindowBusyCursor, updateIsModifiedIndicator, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItempublic GMultipleStructureChoice(String filename, GComponent component) throws GException
filename - of the configuration file.component - to compare with objects in the configuration fileGException - in case there is a problem with the configuration filepublic GMultipleStructureChoice(String widgetId, String filename, GComponent component) throws GException
widgetId - widget identifierfilename - of the configuration file.component - to compare with objects in the configuration fGException - in case there is a problem with the configuration filepublic GMultipleStructureChoice(String filename, GComponent component, boolean useComponentName) throws GException
filename - of the configuration file.component - to compare with objects in the configuration fuseComponentName - true if the name of the component is used to filter the research.GException - in case there is a problem with the configuration filepublic GMultipleStructureChoice(String widgetId, String filename, GComponent component, boolean useComponentName) throws GException
widgetId - widget identifierfilename - of the configuration file.component - to compare with objects in the configuration fileuseComponentName - true if the name of the component is used to filter the research.GException - in case there is a problem with the configuration filepublic GTree getGTree()
public TreeNode getRoot()
public boolean isEnabled()
GComponentisEnabled in class GComponentpublic boolean isExpanded()
public void setEnabled(boolean flag)
GComponentsetEnabled in class GComponentflag - new enable status of the component.public void setVisible(boolean flag)
flag - booleanpublic void before(GEvent e) throws GException
before in interface GListenere - event to processed.GException - in case there is a problem managing the event.public void after(GEvent e) throws GException
after in interface GListenere - processed event.GException - in case there is a problem managing the event.public void display()
throws GException
GDisplaydisplay in interface GDisplayGException - in case of problem while reading the value from file.public void generic()
throws GException
GPanelgeneric in class GPanelGException - in case of problem.Copyright © 2024. All rights reserved.