All Known Implementing Classes:
NumberField, FieldTextField, DynamicClassLoaderTree, TransactionTable, NumberTextField, JEditorPane, ChecklistChooser, JTextField, JList, SortableTable, FieldTextArea, FolderList, ColumnTable, NeonDirectoryChooser, SpeciesTable, MultiplexingTextField, JFormattedTextField, DefaultTextField, FrameEditorPane, ContactList, JPasswordField, JTextArea, ArchiveTable, EntryTable, JTable, UpperCaseField, JTree, JTextComponent, StringTable, HelpContent, BorderlessTextField, NeurosTree, JTextPane, NeurosTable, JComboTree
Hans - Muller| Method from javax.swing.Scrollable Summary: |
|---|
| getPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement |
| Method from javax.swing.Scrollable Detail: |
|---|
JList component
is the size required to accommodate all of the cells in its list.
However, the value of preferredScrollableViewportSize
is the size required for JList.getVisibleRowCount rows.
A component without any properties that would affect the viewport
size should just return getPreferredSize here. |
Scrolling containers, like JScrollPane, will use this method each time the user requests a block scroll. |
Scrolling containers, like JViewport, will use this method each time they are validated. |
Scrollable to match the width of the viewport.
For example a normal
text view that supported line wrapping would return true here, since it
would be undesirable for wrapped lines to disappear beyond the right
edge of the viewport. Note that returning true for a Scrollable
whose ancestor is a JScrollPane effectively disables horizontal
scrolling.
Scrolling containers, like JViewport, will use this method each time they are validated. |
Scrolling containers, like JScrollPane, will use this method each time the user requests a unit scroll. |