Overview
Encapsulates javax.swing.JScrollPane
Attribute Summary
name | type | description |
---|---|---|
Public | ||
view | Widget |
The view |
Protected |
Inherited Attributes
javafx.ui.ScrollableWidget
public | name | type |
---|---|---|
awtScrollBarBackground | Color | |
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. |
horizontalScrollBarPolicy | HorizontalScrollBarPolicy |
The display policy for the horizontal scrollbar. |
lowerLeftCorner | Widget | |
lowerRightCorner | Widget | |
onViewChange | function():Void |
Optional handler for changes to the scroll pane's view's location. |
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. |
scrollBarBackground | AbstractColor | |
scrollpane | JScrollPane | |
scrollPaneBorder | Border |
Sets the scroll pane's border |
upperLeftCorner | Widget | |
upperRightCorner | Widget | |
verticalScrollBarPolicy | VerticalScrollBarPolicy |
The display policy for the vertical scrollbar. |
viewportBorder | Border |
Sets the border of the scroll pane's viewport |
javafx.ui.Widget
public | name | type |
---|---|---|
alignmentX | Number |
Returns the alignment along the x axis. |
alignmentY | Number |
Returns the alignment along the y axis. |
awtBackground | Color | |
awtFont | Font | |
awtForeground | Color | |
background | Color |
Sets the background color of this component. |
border | Border |
Sets the border of this component. |
component | JComponent | |
componentOrientation | ComponentOrientation |
Sets the language-sensitive orientation that is to be used to order the elements or text within this component. |
cursor | Cursor |
Sets the cursor image to the specified cursor. |
doubleBuffered | Boolean |
Sets whether the this component should use a buffer to paint. |
enabled | Boolean |
True when the object is enabled. |
focusable | Boolean |
Sets the focusable state of this Widget to the specified value. |
focused | Boolean | |
focusTraversalKeysEnabled | Boolean | |
font | Font |
Sets the |
foreground | Color |
Sets the foreground color of this component. |
height | Number |
Sets the height of this component. |
keyboardAction | KeyboardAction[] | |
keyListener | KeyListener | |
maximumSize | Dimension |
Sets the maximum size of this component to a constant value. |
minimumSize | Dimension |
Sets the minimum size of this component to a constant value. |
mouseListener | MouseListener | |
mouseMotionListener | MouseMotionListener | |
mouseWheelListener | MouseWheelListener | |
name | String | |
onKeyDown | function(:KeyEvent):Void |
|
onKeyTyped | function(:KeyEvent):Void |
|
onKeyUp | function(:KeyEvent):Void |
|
onMouseClicked | function(:MouseEvent):Void |
|
onMouseDragged | function(:MouseEvent):Void |
|
onMouseEntered | function(:MouseEvent):Void |
|
onMouseExited | function(:MouseEvent):Void |
|
onMouseMoved | function(:MouseEvent):Void |
|
onMousePressed | function(:MouseEvent):Void |
|
onMouseReleased | function(:MouseEvent):Void |
|
onMouseWheelMoved | function(:MouseWheelEvent):Void |
|
opaque | Boolean |
If true the component paints every pixel within its bounds. |
preferredSize | Dimension | |
size | Dimension |
Resizes this component to the specified dimensions. |
sizeToFitColumn | Boolean |
Hint to GroupLayout to make this component's width equal to others in the same column |
sizeToFitRow | Boolean |
Hint to GroupLayout to make this component's height equal to others in the same row |
toolTipText | String |
Registers the text to display in a tool tip. |
visible | Boolean |
True when the object is visible. |
width | Number |
Sets width of this component. |
x | Number |
Sets the x coordinate of this component within its parent. |
y | Number |
Sets the y coordinate of this component within its parent. |
javafx.ui.GroupElement
public | name | type |
---|---|---|
column | Column |
The column this element is contained in within a GroupLayout. |
horizontal | Spring |
Optional horizontal spring that determines the horizontal resizing behavior of this element when contained in a GroupLayout. |
row | Row |
The row this element is contained in within a GroupLayout. |
vertical | Spring |
Optional vertical spring that determines the vertical resizing behavior of this element when contained in a GroupLayout. |
javafx.ui.UIElement
public | name | type |
---|---|---|
context | UIContext | |
lookAndFeel | String |
Function Summary
- public createView() : JComponent
Inherited Functions
javafx.ui.ScrollableWidget
- public createComponent() : JComponent
- protected createScrollPane(view: JComponent, ) : JScrollPane
- protected abstract createView() : JComponent
- public bound getViewPosition() : Point
- public bound getViewRect() : Rectangle
- public onSetOpaque(value: Boolean, ) : Void
- public setViewPosition(point: Point, ) : Void
javafx.ui.Widget
- protected abstract createComponent() : JComponent
-
factory method to create the underlying Swing component
- public getComponent() : JComponent
- public getJComponent() : JComponent
- public getMaximumSize() : Dimension
-
Returns the current maximum size of this component
- public getMinimumSize() : Dimension
-
Returns the current minimum size of this component
- public getNonScrollPaneComponent() : JComponent
- public getPreferredSize() : Dimension
-
Returns the current preferred size of this component
- public getSize() : Dimension
- public bound getWindow() : Window
- protected installMouseListener() : Void
- protected installMouseMotionListener() : Void
- protected installMouseWheelListener() : Void
- protected onSetOpaque(value: Boolean, ) : Void
- public requestFocus() : Void
javafx.ui.UIElement
- public static __EASE(a: Object, t: Number, f: Function1, interpolate: Function3, ) : Object
- public static __EASEBOTH(t: Number, ) : Number
- public static __EASEIN(t: Number, ) : Number
- public static __EASEOUT(t: Number, ) : Number
- public static __INTERPOLATE_NUM(value1: Number, value2: Number, t: Number, ) : Number
- public static cmToPixel(cm: Number, ) : Number
- public static DISCRETE(a: Number, t: Number, ) : Number
- public static EASEBOTH(a: Number, t: Number, ) : Number
- public static EASEIN(a: Number, t: Number, ) : Number
- public static EASEOUT(a: Number, t: Number, ) : Number
- public static getScreenResolution() : Integer
- public static getUIContext() : UIContext
- public bound getWindow() : Window
- public static inchToPixel(inch: Number, ) : Number
- public static LINEAR(a: Number, t: Number, ) : Number
- public static mmToPixel(mm: Number, ) : Number
- public static pointToPixel(pt: Integer, ) : Number