public static interface DefaultFlapWindow.Parent
DefaultFlapWindow
.Modifier and Type | Method and Description |
---|---|
Component |
asComponent()
|
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.
|
boolean isParentValid()
Component asComponent()
DefaultFlapWindow
void setParentLocation(Point location)
location
- the new locations in screen coordinatesvoid setSize(Dimension size)
size
- the new sizeboolean isVisible()
true
if this container is visiblevoid setVisible(boolean flag)
flag
- the visibilityvoid setContentPane(Container content)
content
- the panel to showContainer getContentPane()
void destroy()