javafx.ui
ScrollableWidget
Extends: Widget
Interface for widgets that support scrollbars and scrolling. Encapsulates
javax.swing.JScrollPane and javax.swing.JViewport.
Attributes
- protected awtScrollBarBackground: java.awt.Color?
- public columnHeader: Widget?
- Adds a child that will appear as a row at the top or bottom
of the main view of the scrollpane depending on the current component orientation.
- public horizontalScrollBarPolicy: HorizontalScrollBarPolicy
- The display policy for the horizontal scrollbar. Defaults to AS_NEEDED.
- public lowerLeftCorner: Widget?
- public lowerRightCorner: Widget?
- public onViewChange: function():*?
- Optional handler for changes to the scroll pane's view's location.
- public rowHeader: Widget?
- Adds a child that will appear as a column on to the left or right
of the main view of the scrollpane depending on the current component orientation.
- public scrollBarBackground: AbstractColor?
- public scrollPaneBorder: Border?
- Sets the scroll pane's border
- protected scrollpane: javax.swing.JScrollPane
- public upperLeftCorner: Widget?
- public upperRightCorner: Widget?
- public verticalScrollBarPolicy: VerticalScrollBarPolicy
- The display policy for the vertical scrollbar. Defaults to AS_NEEDED.
- private viewChangeListener: javax.swing.event.ChangeListener
- public viewportBorder: Border?
- Sets the border of the scroll pane's viewport
alignmentX,
alignmentY,
awtBackground,
awtFont,
awtForeground,
background,
border,
component,
componentOrientation,
cursor,
doubleBuffered,
enabled,
focusListener,
focusTraversalKeysEnabled,
focusable,
focused,
font,
foreground,
height,
inBoundsListener,
keyListener,
keyboardAction,
maximumSize,
minimumSize,
mouseListener,
mouseMotionListener,
mouseWheelListener,
onKeyDown,
onKeyTyped,
onKeyUp,
onMouseClicked,
onMouseDragged,
onMouseEntered,
onMouseExited,
onMouseMoved,
onMousePressed,
onMouseReleased,
onMouseWheelMoved,
opaque,
preferredSize,
size,
sizeToFitColumn,
sizeToFitRow,
toolTipText,
visible,
width,
x,
y
Operations/Functions
- protected createScrollPane(view: javax.swing.JComponent): javax.swing.JScrollPane
- protected createView(): javax.swing.JComponent
- public getViewPosition(): java.awt.Point
- public getViewRect(): java.awt.Rectangle
- private installViewChangeListener()
- private scrollRectToVisible(java.awt.Rectangle)
- public setViewPosition(java.awt.Point)
Operations/Functions Inherited from javafx.ui.Widget
createComponent,
function():function(java.awt.event.KeyEvent):function(java.awt.event.KeyEvent):function(java.awt.event.KeyEvent):function(java.awt.event.KeyEvent):javafx.ui.KeyEvent,
getBounds,
getComponent,
getNonScrollPaneComponent,
installMouseListener,
installMouseMotionListener,
installMouseWheelListener,
makeKeyEvent,
makeMouseEvent,
makeMouseWheelEvent,
maximumSize,
minimumSize,
onSetOpaque,
preferredSize,
requestFocus,
setBounds,
size