|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
bibliothek.gui.dock.station.flap.FlapWindow
public class FlapWindow
This window pops up if the user presses one of the buttons of a
FlapDockStation
. The window shows one Dockable
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JDialog |
---|
JDialog.AccessibleJDialog |
Nested classes/interfaces inherited from class java.awt.Dialog |
---|
Dialog.AccessibleAWTDialog |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JDialog |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
FlapWindow(FlapDockStation station,
ButtonPane buttonPane,
Dialog dialog)
Constructs a new window. |
|
FlapWindow(FlapDockStation station,
ButtonPane buttonPane,
Frame frame)
Constructs a new window. |
Method Summary | |
---|---|
protected void |
discardDisplayer()
Replaces the current DockableDisplayer with a new instance. |
DockableDisplayer |
getDisplayer()
Gets the displayer used to show a Dockable . |
protected Container |
getDisplayerParent()
Gets the container that will become the parent of a DockableDisplayer . |
Dockable |
getDockable()
Gets the Dockable which is shown on this window. |
Insets |
getDockableInsets()
Makes a guess how big the insets around the current Dockable
of this window are. |
DockTitle |
getDockTitle()
Gets the currently displayed title. |
FlapDockStation |
getStation()
Gets the station for which this window is shown. |
void |
mouseClicked(MouseEvent e)
|
void |
mouseDragged(MouseEvent e)
|
void |
mouseEntered(MouseEvent e)
|
void |
mouseExited(MouseEvent e)
|
void |
mouseMoved(MouseEvent e)
|
void |
mousePressed(MouseEvent e)
|
void |
mouseReleased(MouseEvent e)
|
void |
setDockable(Dockable dockable)
Sets the Dockable which will be shown on this window. |
void |
setDockTitle(DockTitle title)
Sets the title which should be displayed. |
void |
setDropInfo(FlapDropInfo dropInfo)
Sets information where a Dockable will be dropped. |
void |
setVisible(boolean flag)
|
void |
updateBounds()
Recalculates the size and the location of this window. |
Methods inherited from class java.awt.Dialog |
---|
addNotify, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FlapWindow(FlapDockStation station, ButtonPane buttonPane, Frame frame)
station
- the station which manages this windowbuttonPane
- the buttons on the stationframe
- the owner of the windowpublic FlapWindow(FlapDockStation station, ButtonPane buttonPane, Dialog dialog)
station
- the station which manages this windowbuttonPane
- the buttons on the stationdialog
- the owner of this windowMethod Detail |
---|
public void setVisible(boolean flag)
setVisible
in class Component
public FlapDockStation getStation()
public void setDropInfo(FlapDropInfo dropInfo)
Dockable
will be dropped.
dropInfo
- the information or null
public void setDockTitle(DockTitle title)
title
- the title or null
public DockTitle getDockTitle()
null
public Dockable getDockable()
Dockable
which is shown on this window.
Dockable
or null
public DockableDisplayer getDisplayer()
Dockable
.
null
public void setDockable(Dockable dockable)
Dockable
which will be shown on this window.
dockable
- The Dockable
or null
protected void discardDisplayer()
DockableDisplayer
with a new instance.
protected Container getDisplayerParent()
DockableDisplayer
.
public Insets getDockableInsets()
Dockable
of this window are.
public void updateBounds()
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |