public interface Label<O extends OutputManager<?>> extends Widget<O>
Modifier and Type | Method and Description |
---|---|
BaseConfig |
config()
Get externalizable widget config which can be used to restore widget
state after via network.
|
default boolean |
isDelimiter()
Gets the flag that marks this label as one used to draw a separator
line for header widgets.
|
default boolean |
isUnderlined()
Get current value of the underlining flag.
|
default java.lang.String |
label()
Enable empty mode.
|
default void |
linkTo(int frameId,
int serverSideId)
Process this label so that it's linked with the server-side widget represented by the
serverSideId . |
default void |
postprocessConfig(LabeledWidget<O> widget)
Additional processing required when widget configuration is updated AFTER the frame layout
has been performed.
|
default void |
setEmptyModeOff()
Disable empty label mode.
|
default void |
setEmptyModeOn() |
default void |
setRightAligned(boolean rightAligned)
Activate or deactivate right alignment of the text.
|
void |
setWidth(double width)
Set container width.
|
addFocusListener, addKeyListener, ancestor, ancestorId, bounds, canMovetoTop, clearWidget, defaultMousePtr, destroy, dimension, displayPhysicalLocation, draw, drawCaret, enclosingFrame, enforceDefaultMousePtr, findMouseSource, focusTraversable, forceCursorOnFocus, forceVisibility, getActualBounds, getCustomMousePointer, getEffectiveMousePointer, getId, getLegacyWidget, getLoadedMousePointer, getMenuMouse, getMouseActions, getMousePosition, getSelectedText, getState, getTriggerWidget, getTriggerWidget, getVisiblePart, getZOrderClass, hasFocus, hasFocus, height, hidden, hide, highlighted, ignoreEnable, initialHeight, initialWidth, insets, isCurrent, isDirectManipulable, isDirectManipulationActive, isDisplayed, isDroppable, isEnabled, isFocusable, isHeader, isInitialValueLayout, isLegacyFocus, isRealized, isRepaintDisabled, isRMBEntrySupported, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, maySwitchFocus, minimumSize, moveToBottom, moveToTop, name, navigable, oleDrag, parent, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, postprocessConfig, preventFocusWhenMouseDownEventDefined, processDirectManipulationEvent, processEvent, processFocusEvent, processKeyEvent, processKeyListeners, processMnemonic, raiseLegacyMouseEvents, refreshWidget, registerWidgetStateListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestSync, resizeTo, resolvePopupMenuId, screen, screenLocation, screenPhysicalLocation, setEnabled, setHidden, setHighlighted, setLocation, setLocation, setMousePointer, setParent, setPhysicalLocation, setState, setVisible, show, supportsCustomMousePointer, systemFocusGrabbed, topLevelWindow, unrealize, unregisterWidgetStateListener, validateDisplayValue, widgetStateChanged, width, window
default void linkTo(int frameId, int serverSideId)
serverSideId
.frameId
- The ID of the frame to which this label belongs.serverSideId
- The server-side ID of this label.default boolean isUnderlined()
true
if label is underlined.default void setRightAligned(boolean rightAligned)
rightAligned
- true
activate right alignment,
false
- deactivate.default java.lang.String label()
default void setEmptyModeOn()
default void setEmptyModeOff()
Widget.draw()
call.default void postprocessConfig(LabeledWidget<O> widget)
widget
- The widget to which this side-labe is attached.default boolean isDelimiter()
true
if this label is a separator line.void setWidth(double width)
width
- Width to set.BaseConfig config()
config
in interface Widget<O extends OutputManager<?>>