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

Method Summary
 void addTool(Component toolOrNull)
           
 void dispose()
           
 int getDefaultCloseOperation()
           
 Component getFrame()
           
 Icon getIcon()
           
 String getTitle()
           
 Component getTool()
           
 boolean is_Active()
           
 boolean isVisible()
           
 void pack()
           
 void removeTool(Component toolOrNull)
           
 void setActive(boolean active)
           
 void setDefaultCloseOperation(int operation)
           
 void setIcon(Icon icon)
           
 void setTitle(String title)
           
 void setVisible(boolean visible)
           
 

Method Detail

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