dsto.dfc.swing.panels
Class InternalFloatState

java.lang.Object
  extended by dsto.dfc.swing.panels.FixedFloatState
      extended by dsto.dfc.swing.panels.InternalFloatState
Direct Known Subclasses:
ExternalFloatState

public class InternalFloatState
extends FixedFloatState

The Internal FloatState represents a lightweight window. It displays the component inside a PanelManager.Panel.


Field Summary
protected  Window baseWindow
           
protected static Icon FLOAT_OVERLAY_ICON
           
protected  JInternalFrame frame
           
 
Constructor Summary
InternalFloatState(PanelManager.Panel panel, RestrictedIndexTabbedPane tabPane, Icon icon, int index)
           
 
Method Summary
 void addListener(PanelManager.WindowEventListener listener)
           
protected  Point calculateLocation(int index)
          each subsequent frame in the PanelManager is offset so that all newly created frames are visible and do not obscure each other.
 void dispose()
           
 Command getDefaultCommand()
           
 String getFloating()
           
 Icon getTabDisplayIcon()
           
protected  void makeFrameUncloseable()
           
 void makeUncloseable()
           
protected  void refreshTitle(TitleShowPolicy titleDisplay)
           
 void removeListener(PanelManager.WindowEventListener listener)
           
 void setActive(boolean active)
           
 void setUpCommands()
           
protected  void setUpDisplay(int index)
           
 void setVisible(boolean visible)
           
protected  void showFrame(boolean visible)
           
 void showIcon()
           
 
Methods inherited from class dsto.dfc.swing.panels.FixedFloatState
close, getCommands, getIcon, makePlaceHolderForPanel, replaceCloseCommand, setIcon, switchCloseCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLOAT_OVERLAY_ICON

protected static final Icon FLOAT_OVERLAY_ICON

frame

protected JInternalFrame frame

baseWindow

protected Window baseWindow
Constructor Detail

InternalFloatState

public InternalFloatState(PanelManager.Panel panel,
                          RestrictedIndexTabbedPane tabPane,
                          Icon icon,
                          int index)
Method Detail

makeUncloseable

public void makeUncloseable()
Overrides:
makeUncloseable in class FixedFloatState

makeFrameUncloseable

protected void makeFrameUncloseable()

dispose

public void dispose()
Overrides:
dispose in class FixedFloatState

showIcon

public void showIcon()
Overrides:
showIcon in class FixedFloatState

getTabDisplayIcon

public Icon getTabDisplayIcon()
Overrides:
getTabDisplayIcon in class FixedFloatState

refreshTitle

protected void refreshTitle(TitleShowPolicy titleDisplay)
Overrides:
refreshTitle in class FixedFloatState

addListener

public void addListener(PanelManager.WindowEventListener listener)

removeListener

public void removeListener(PanelManager.WindowEventListener listener)

setActive

public void setActive(boolean active)
Overrides:
setActive in class FixedFloatState

showFrame

protected void showFrame(boolean visible)

setVisible

public void setVisible(boolean visible)
Overrides:
setVisible in class FixedFloatState

getFloating

public String getFloating()
Overrides:
getFloating in class FixedFloatState

calculateLocation

protected Point calculateLocation(int index)
each subsequent frame in the PanelManager is offset so that all newly created frames are visible and do not obscure each other.


setUpDisplay

protected void setUpDisplay(int index)
Overrides:
setUpDisplay in class FixedFloatState

setUpCommands

public void setUpCommands()
Overrides:
setUpCommands in class FixedFloatState

getDefaultCommand

public Command getDefaultCommand()
Overrides:
getDefaultCommand in class FixedFloatState


Copyright © 2008 Commonwealth of Australia