public class GSeparator extends GComponent implements GDisplay
GComponent.CopyPasteOperation, GComponent.DisplayIndicatorStatus, GComponent.ItemType, GComponent.Operation
Modifier and Type | Field and Description |
---|---|
static int |
HORIZONTAL |
static int |
VERTICAL |
NAME_ATTRIBUTE
Constructor and Description |
---|
GSeparator()
Constructor.
|
GSeparator(int orientation)
Constructor.
|
GSeparator(String widgetId)
Constructor.
|
GSeparator(String widgetId,
int orientation)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Component |
getComponent()
Returns the low level Swing Component encapsulated by the class if any, otherwise returns
null.
|
JSeparator |
getJSeparator()
Return the JSeparator associated with the widget.
|
protected void |
setDefaultConstraints()
Set default constraints.
|
activateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearConstraint, 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, isEnabled, isForcedStatus, isModified, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, processMouseWheelEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setEnabled, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, setWindowBusyCursor, updateIsModifiedIndicator, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem
public static final int HORIZONTAL
public static final int VERTICAL
public GSeparator()
public GSeparator(int orientation)
orientation
- of the separator.public GSeparator(String widgetId)
widgetId
- identifier of the widget.public GSeparator(String widgetId, int orientation)
widgetId
- identifier of the widget.orientation
- of the separator.protected void setDefaultConstraints()
GComponent
setDefaultConstraints
in class GComponent
public void display()
GDisplay
public Component getComponent()
GComponent
getComponent
in class GComponent
public JSeparator getJSeparator()
Copyright © 2024. All rights reserved.