bibliothek.gui.dock.station.flap
Interface DefaultFlapWindow.Parent

All Known Implementing Classes:
DefaultFlapWindow.DialogParent
Enclosing class:
DefaultFlapWindow

public static interface DefaultFlapWindow.Parent

The parent container of a DefaultFlapWindow.

Author:
Benjamin Sigg

Method Summary
 Component asComponent()
          Returns this or the representation of this as Component.
 void destroy()
          Informs this parent that is it no longer needed
 Container getContentPane()
          Gets the component that is painted by this parent.
 boolean isParentValid()
          Tells whether this window is still valid, e.g whether the window can be shown in front of its station.
 boolean isVisible()
          Tells whether the user can see this container or not.
 void setContentPane(Container content)
          Tells this parent what component to paint.
 void setParentLocation(Point location)
          Sets the location of this container on the screen.
 void setSize(Dimension size)
          Sets the size of this container.
 void setVisible(boolean flag)
          Sets the visibility of this container.
 

Method Detail

isParentValid

boolean isParentValid()
Tells whether this window is still valid, e.g whether the window can be shown in front of its station.

Returns:
whether this parent can still be used

asComponent

Component asComponent()
Returns this or the representation of this as Component.

Returns:
the component that shows a DefaultFlapWindow

setParentLocation

void setParentLocation(Point location)
Sets the location of this container on the screen.

Parameters:
location - the new locations in screen coordinates

setSize

void setSize(Dimension size)
Sets the size of this container.

Parameters:
size - the new size

isVisible

boolean isVisible()
Tells whether the user can see this container or not.

Returns:
true if this container is visible

setVisible

void setVisible(boolean flag)
Sets the visibility of this container.

Parameters:
flag - the visibility

setContentPane

void setContentPane(Container content)
Tells this parent what component to paint.

Parameters:
content - the panel to show

getContentPane

Container getContentPane()
Gets the component that is painted by this parent.

Returns:
the component

destroy

void destroy()
Informs this parent that is it no longer needed