|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLayeredPane
bibliothek.gui.dock.station.OverpaintablePanel
bibliothek.gui.dock.security.SecureContainer
bibliothek.gui.dock.SplitDockStation
bibliothek.gui.dock.wizard.WizardSplitDockStation
public class WizardSplitDockStation
A WizardSplitDockStation has some additional restrictions and other behavior than an ordinary SplitDockStation:
Dockables are ordered in columns.JScrollPane, it even implements Scrollable to fully support the JScrollPane.
| Nested Class Summary | |
|---|---|
static class |
WizardSplitDockStation.Side
the side where dockables are pushed to |
class |
WizardSplitDockStation.WizardLayoutManager
This SplitLayoutManager adds restrictions on how a drag and drop operation
can be performed, and what the boundaries of the children are:
DnD operations must ensure that the Dockables remain in columns, see WizardSplitDockStation.WizardLayoutManager.ensureDropLocation(PutInfo)
|
| Nested classes/interfaces inherited from class bibliothek.gui.dock.SplitDockStation |
|---|
bibliothek.gui.dock.SplitDockStation.Orientation, bibliothek.gui.dock.SplitDockStation.SplitDropOperation |
| Nested classes/interfaces inherited from class javax.swing.JLayeredPane |
|---|
JLayeredPane.AccessibleJLayeredPane |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class bibliothek.gui.dock.SplitDockStation |
|---|
DISPLAYER_ID, DIVIDER_STRATEGY, dockStationListeners, LAYOUT_MANAGER, MAXIMIZE_ACCELERATOR, TITLE_ID |
| Fields inherited from class javax.swing.JLayeredPane |
|---|
DEFAULT_LAYER, DRAG_LAYER, FRAME_CONTENT_LAYER, LAYER_PROPERTY, MODAL_LAYER, PALETTE_LAYER, POPUP_LAYER |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
WizardSplitDockStation(WizardSplitDockStation.Side side)
Creates a new station. |
|
| Method Summary | |
|---|---|
boolean |
drop(bibliothek.gui.Dockable dockable,
bibliothek.gui.dock.station.split.SplitDockPlaceholderProperty property)
Ensures that the dropped Dockable does not come to rest at a location that would destroy the columns. |
String |
getFactoryID()
|
Dimension |
getMinimumSize()
|
PersistentColumn[] |
getPersistentColumns()
|
Dimension |
getPreferredScrollableViewportSize()
|
Dimension |
getPreferredSize()
|
int |
getScrollableBlockIncrement(Rectangle visibleRect,
int orientation,
int direction)
|
boolean |
getScrollableTracksViewportHeight()
|
boolean |
getScrollableTracksViewportWidth()
|
int |
getScrollableUnitIncrement(Rectangle visibleRect,
int orientation,
int direction)
|
WizardSplitDockStation.Side |
getSide()
Gets the side to which this station leans. |
WizardSpanStrategy |
getWizardSpanStrategy()
Gets the strategy which is responsible for managing the Spans. |
WizardSplitDockStation.WizardLayoutManager |
getWizardSplitLayoutManager()
|
protected void |
paintOverlay(Graphics g)
|
void |
resetToPreferredSizes()
Changes the size of all columns and cells such that they met their preferred size. |
void |
revalidateOutside()
Calls JComponent.revalidate() on the first JComponent that is outside of the current JScrollPane. |
void |
setController(bibliothek.gui.DockController controller)
|
void |
setDividerSize(int dividerSize)
|
void |
setPersistentColumns(bibliothek.gui.Dockable[][] columnsAndCells,
int[][] cellSizes,
int[] columnSizes)
|
protected void |
setPut(bibliothek.gui.dock.station.split.PutInfo info)
|
void |
setSide(WizardSplitDockStation.Side side)
Sets the side to which this station leans. |
protected void |
unsetPut()
|
| Methods inherited from class bibliothek.gui.dock.SplitDockStation |
|---|
accept, accept, accept, addDockable, addDockableListener, addDockableStateListener, addDockHierarchyListener, addDockStationListener, addMouseInputListener, addSplitDockStationListener, asDockable, asDockStation, bind, callDockUiUpdateTheme, canDrag, canReplace, changed, configureDisplayerHints, createFullScreenAction, createPlaceholderConverter, createTree, createTree, discard, drag, drop, drop, drop, drop, drop, dropAside, dropGrid, dropOver, dropOver, dropTree, dropTree, fireFullScreenChanged, fireTitleExchanged, fireTitleExchanged, getBorderSideSnapSize, getCombiner, getComponent, getConfigurableDisplayerHints, getController, getCurrentSplitLayoutManager, getDirectActionOffers, getDisplayerFactory, getDisplayers, getDividerSize, getDividerStrategy, getDockable, getDockableCount, getDockableLocationProperty, getDockablePathProperty, getDockablePlaceholderProperty, getDockableProperty, getDockParent, getDropInfo, getElement, getFrontDockable, getFullScreen, getGlobalActionOffers, getIndirectActionOffers, getLayers, getLocalActionOffers, getMinimumLeafSize, getNode, getNodeFactory, getPaint, getPlaceholders, getPlaceholderStrategy, getPopupLocation, getRoot, getSideSnapSize, getSpanStrategy, getSplitLayoutManager, getTheme, getTitleIcon, getTitleText, getTitleToolTip, hasFullScreenAction, indexOfDockable, isAllowSideSnap, isChildShowing, isContinousDisplay, isDisabled, isDockableShowing, isDockableVisible, isExpandOnDoubleclick, isFullScreen, isResizingEnabled, isStationShowing, isStationVisible, isUsedAsTitle, isVisible, listBoundTitles, move, prepareDrag, prepareDrop, removeAllDockables, removeDockable, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, removeDockStationListener, removeMouseInputListener, removePlaceholder, removePlaceholders, removeSplitDockStationListener, replace, replace, requestChildDisplayer, requestChildDockTitle, requestDisplayer, requestDockTitle, resetTitleIcon, root, setAllowSideSnap, setBorderSideSnapSize, setContinousDisplay, setDisabled, setDividerStrategy, setDockParent, setExpandOnDoubleclick, setFrontDockable, setFullScreen, setFullScreenAction, setMinimumLeafSize, setNextFullScreen, setNodeFactory, setPlaceholders, setPlaceholderStrategy, setResizingEnabled, setSideSnapSize, setSplitLayoutManager, setTitleIcon, setTitleText, setTitleToolTip, shouldFocus, shouldTransfersFocus, toString, unbind, updateBounds, updateConfigurableDisplayerHints, updateTheme, updateVisibility, visit |
| Methods inherited from class bibliothek.gui.dock.security.SecureContainer |
|---|
createGlassPane, install, isUseGlassPane, setUseGlassPane, uninstall |
| Methods inherited from class bibliothek.gui.dock.station.OverpaintablePanel |
|---|
doLayout, getBasePane, getContentPane, getMaximumSize, isSolid, setBasePane, setContentPane, setSolid |
| Methods inherited from class javax.swing.JLayeredPane |
|---|
addImpl, getAccessibleContext, getComponentCountInLayer, getComponentsInLayer, getComponentToLayer, getIndexOf, getLayer, getLayer, getLayeredPaneAbove, getObjectForLayer, getPosition, highestLayer, insertIndexForLayer, isOptimizedDrawingEnabled, lowestLayer, moveToBack, moveToFront, paint, paramString, putLayer, remove, removeAll, setLayer, setLayer, setPosition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WizardSplitDockStation(WizardSplitDockStation.Side side)
side - the side at which this station is presented, e.g. if this station is at the left side
of a JFrame, the parameter should be WizardSplitDockStation.Side.LEFT| Method Detail |
|---|
public void revalidateOutside()
JComponent.revalidate() on the first JComponent that is outside of the current JScrollPane.
public String getFactoryID()
getFactoryID in interface bibliothek.gui.dock.DockElementgetFactoryID in class bibliothek.gui.dock.SplitDockStationpublic WizardSplitDockStation.WizardLayoutManager getWizardSplitLayoutManager()
public WizardSpanStrategy getWizardSpanStrategy()
Spans.
public void setDividerSize(int dividerSize)
setDividerSize in class bibliothek.gui.dock.SplitDockStationpublic void setController(bibliothek.gui.DockController controller)
setController in interface bibliothek.gui.DockablesetController in interface bibliothek.gui.DockStationsetController in class bibliothek.gui.dock.SplitDockStationprotected void setPut(bibliothek.gui.dock.station.split.PutInfo info)
setPut in class bibliothek.gui.dock.SplitDockStationprotected void unsetPut()
unsetPut in class bibliothek.gui.dock.SplitDockStationpublic WizardSplitDockStation.Side getSide()
public void setSide(WizardSplitDockStation.Side side)
side - the new side, not null
public int getScrollableUnitIncrement(Rectangle visibleRect,
int orientation,
int direction)
getScrollableUnitIncrement in interface Scrollable
public int getScrollableBlockIncrement(Rectangle visibleRect,
int orientation,
int direction)
getScrollableBlockIncrement in interface Scrollablepublic Dimension getPreferredScrollableViewportSize()
getPreferredScrollableViewportSize in interface Scrollablepublic boolean getScrollableTracksViewportWidth()
getScrollableTracksViewportWidth in interface Scrollablepublic boolean getScrollableTracksViewportHeight()
getScrollableTracksViewportHeight in interface Scrollablepublic Dimension getMinimumSize()
getMinimumSize in class bibliothek.gui.dock.SplitDockStationpublic Dimension getPreferredSize()
getPreferredSize in class bibliothek.gui.dock.SplitDockStationprotected void paintOverlay(Graphics g)
paintOverlay in class bibliothek.gui.dock.SplitDockStationpublic PersistentColumn[] getPersistentColumns()
public void setPersistentColumns(bibliothek.gui.Dockable[][] columnsAndCells,
int[][] cellSizes,
int[] columnSizes)
public boolean drop(bibliothek.gui.Dockable dockable,
bibliothek.gui.dock.station.split.SplitDockPlaceholderProperty property)
Dockable does not come to rest at a location that would destroy the columns.
drop in class bibliothek.gui.dock.SplitDockStationpublic void resetToPreferredSizes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||