dsto.dfc.swing.panels
Class GhostFrame

java.lang.Object
  extended by dsto.dfc.swing.panels.GhostFrame
All Implemented Interfaces:
FrameLike

public class GhostFrame
extends Object
implements FrameLike

LightWeight imposter class acting as a proxy for internal or external frames. Used to implement lazy initialization of windows by the ToolView class ToolView see also OutsideFrameInsideFrameFrameLike


Constructor Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GhostFrame

public GhostFrame()
Method Detail

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface FrameLike

getTitle

public String getTitle()
Specified by:
getTitle in interface FrameLike

setIcon

public void setIcon(Icon icon)
Specified by:
setIcon in interface FrameLike

getIcon

public Icon getIcon()
Specified by:
getIcon in interface FrameLike

setActive

public void setActive(boolean active)
Specified by:
setActive in interface FrameLike

is_Active

public boolean is_Active()
Specified by:
is_Active in interface FrameLike

setVisible

public void setVisible(boolean visible)
Specified by:
setVisible in interface FrameLike

isVisible

public boolean isVisible()
Specified by:
isVisible in interface FrameLike

setDefaultCloseOperation

public void setDefaultCloseOperation(int operation)
Specified by:
setDefaultCloseOperation in interface FrameLike

getDefaultCloseOperation

public int getDefaultCloseOperation()
Specified by:
getDefaultCloseOperation in interface FrameLike

addTool

public void addTool(Component toolOrNull)
Specified by:
addTool in interface FrameLike

removeTool

public void removeTool(Component toolOrNull)
Specified by:
removeTool in interface FrameLike

getTool

public Component getTool()
Specified by:
getTool in interface FrameLike

dispose

public void dispose()
Specified by:
dispose in interface FrameLike

pack

public void pack()
Specified by:
pack in interface FrameLike

getFrame

public Component getFrame()
Specified by:
getFrame in interface FrameLike


Copyright © 2008 Commonwealth of Australia