public class ListWidget extends Widget
Widget.Dependency
Constructor and Description |
---|
ListWidget(Scene scene)
Deprecated.
Creates a list widget.
|
Modifier and Type | Method and Description |
---|---|
Widget |
getHeader()
Deprecated.
Returns a header widget.
|
ImageWidget |
getImageWidget()
Deprecated.
Returns an image widget in the header.
|
LabelWidget |
getLabelWidget()
Deprecated.
Returns a label widget in the header.
|
void |
notifyStateChanged(ObjectState previousState,
ObjectState state)
Deprecated.
Implements the widget-state specific look of the widget.
|
void |
setImage(Image image)
Deprecated.
Sets an image used in the list header.
|
void |
setLabel(String label)
Deprecated.
Sets a label used in the list header.
|
addChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, calculateClientArea, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getChildConstraint, getChildren, getClientArea, getCursor, getCursorAt, getDependencies, getFont, getForeground, getGraphics, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getResourceTable, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isHitAt, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isValidated, isVisible, notifyAdded, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, notifyRemoved, paint, paintBackground, paintBorder, paintChildren, paintWidget, removeChild, removeChildren, removeChildren, removeDependency, removeFromParent, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBackgroundFromResource, setBorder, setBorder, setCheckClipping, setChildConstraint, setCursor, setEnabled, setFont, setFontFromResource, setForeground, setForegroundFromResource, setLayout, setMaximumSize, setMinimumSize, setOpaque, setPreferredBounds, setPreferredLocation, setPreferredSize, setResourceTable, setState, setToolTipText, setVisible, updateResources
public ListWidget(Scene scene)
scene
- the scenepublic void notifyStateChanged(ObjectState previousState, ObjectState state)
notifyStateChanged
in class Widget
previousState
- the previous statestate
- the new statepublic final void setImage(Image image)
image
- the imagepublic final void setLabel(String label)
label
- the labelpublic final Widget getHeader()
public final ImageWidget getImageWidget()
public final LabelWidget getLabelWidget()