public class SwingScrollWidget extends Widget
Widget.Dependency
Constructor and Description |
---|
SwingScrollWidget(Scene scene)
Creates a scroll widget.
|
SwingScrollWidget(Scene scene,
Widget view)
Creates a scroll widget.
|
Modifier and Type | Method and Description |
---|---|
protected Rectangle |
calculateClientArea()
Calculates a client area as from the scroll widget preferred bounds.
|
Widget |
getView()
Returns an inner widget.
|
void |
setView(Widget view)
Sets an scrolled widget.
|
addChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, 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, notifyStateChanged, 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 SwingScrollWidget(Scene scene)
scene
- public final Widget getView()
public final void setView(Widget view)
view
- the scrolled widgetprotected Rectangle calculateClientArea()
calculateClientArea
in class Widget