dsto.dfc.swing.panels
Class FixedFloatState

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

public class FixedFloatState
extends Object

The FixedFloatState represents a single pane in a tabPane. It controls the commands relevant to that state.


Constructor Summary
FixedFloatState(PanelManager.Panel panel, RestrictedIndexTabbedPane tabPane, Icon icon, int index)
           
 
Method Summary
 void close()
           
 void dispose()
           
 Collection getCommands()
           
 Command getDefaultCommand()
           
 String getFloating()
           
 Icon getIcon()
           
 Icon getTabDisplayIcon()
           
protected  JScrollPane makePlaceHolderForPanel()
          without the placeHolder, the tabPanel will disappear when it does not contain a component.
 void makeUncloseable()
           
protected  void refreshTitle(TitleShowPolicy titleDisplay)
           
 void replaceCloseCommand(Command unpublishedCloseCommand)
           
 void setActive(boolean active)
           
 void setIcon(Icon icon)
           
 void setUpCommands()
           
protected  void setUpDisplay(int index)
           
 void setVisible(boolean visible)
           
 void showIcon()
           
 void switchCloseCommand(Command publishedCloseCommand)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedFloatState

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

dispose

public void dispose()

makeUncloseable

public void makeUncloseable()

replaceCloseCommand

public void replaceCloseCommand(Command unpublishedCloseCommand)

switchCloseCommand

public void switchCloseCommand(Command publishedCloseCommand)

close

public void close()

getIcon

public Icon getIcon()

getTabDisplayIcon

public Icon getTabDisplayIcon()

setIcon

public void setIcon(Icon icon)

showIcon

public void showIcon()

setActive

public void setActive(boolean active)

setVisible

public void setVisible(boolean visible)

getFloating

public String getFloating()

makePlaceHolderForPanel

protected JScrollPane makePlaceHolderForPanel()
without the placeHolder, the tabPanel will disappear when it does not contain a component.


refreshTitle

protected void refreshTitle(TitleShowPolicy titleDisplay)

setUpDisplay

protected void setUpDisplay(int index)

setUpCommands

public void setUpCommands()

getCommands

public Collection getCommands()

getDefaultCommand

public Command getDefaultCommand()


Copyright © 2008 Commonwealth of Australia