dsto.dfc.swing.panels
Interface FrameLike
- All Known Implementing Classes:
- GhostFrame, InsideFrame, OutsideFrame
public interface FrameLike
This interface allow JFrames and Frames to be substitutable.
JFrames and Frames are fundamentally incompatible, since these are
not related by inheritance. However, the two have many methods in
common. The interface enables lazy initialization of Frames by
using GhostFrames to act as frame imposters until the frame is
actually required.
- Version:
- $Revision$
- See Also:
OutsideFrame
,
InsideFrame
,
GhostFrame
setTitle
void setTitle(String title)
getTitle
String getTitle()
setIcon
void setIcon(Icon icon)
getIcon
Icon getIcon()
setActive
void setActive(boolean active)
is_Active
boolean is_Active()
setVisible
void setVisible(boolean visible)
isVisible
boolean isVisible()
setDefaultCloseOperation
void setDefaultCloseOperation(int operation)
getDefaultCloseOperation
int getDefaultCloseOperation()
addTool
void addTool(Component toolOrNull)
removeTool
void removeTool(Component toolOrNull)
getTool
Component getTool()
dispose
void dispose()
pack
void pack()
getFrame
Component getFrame()
Copyright © 2008 Commonwealth of Australia