ch.elca.el4j.services.gui.swing.frames
Class ToolWindowTabApplicationFrame

java.lang.Object
  extended by ch.elca.el4j.services.gui.swing.frames.ToolWindowTabApplicationFrame
All Implemented Interfaces:
ApplicationFrame

public class ToolWindowTabApplicationFrame
extends Object
implements ApplicationFrame

This class represents a tool window tab in a docking environment.

Author:
Stefan Wismer (SWI)
File-location:
ToolWindowTabApplicationFrame
Last check-in date:
2009-08-04 15:48:31 +0200 (Di, 04. Aug 2009) by swismer for revision 3884

Field Summary
protected  ToolWindowTabConfiguration m_configuration
          A descriptor of the content which allows to use the frame (in a limited way) before it's visible.
protected  org.noos.xing.mydoggy.ToolWindowTab m_toolWindowTab
          The representation of a frame in a docking environment.
 
Constructor Summary
ToolWindowTabApplicationFrame(ToolWindowTabConfiguration configuration)
           
 
Method Summary
 void close()
          Close this frame.
 ToolWindowTabConfiguration getConfiguration()
           
 JComponent getContent()
          
 Object getFrame()
          
 void setClosable(boolean closable)
          
 void setConfiguration(ToolWindowTabConfiguration configuration)
           
 void setContent(JComponent component)
          
 void setFrame(Object frame)
          
 void setMaximizable(boolean maximizable)
          
 void setMaximized(boolean maximized)
          
 void setMinimizable(boolean minimizable)
          
 void setMinimized(boolean minimized)
          
 void setName(String name)
          
 void setSelected(boolean selected)
          
 void setTitle(String title)
          
 void show()
          Show this frame (if supported).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_toolWindowTab

protected org.noos.xing.mydoggy.ToolWindowTab m_toolWindowTab
The representation of a frame in a docking environment.


m_configuration

protected ToolWindowTabConfiguration m_configuration
A descriptor of the content which allows to use the frame (in a limited way) before it's visible.

Constructor Detail

ToolWindowTabApplicationFrame

public ToolWindowTabApplicationFrame(ToolWindowTabConfiguration configuration)
Parameters:
configuration - A descriptor of the content which allows to use the frame (in a limited way) before it's visible.
Method Detail

getContent

public JComponent getContent()

Specified by:
getContent in interface ApplicationFrame
Returns:
the content of this frame

setContent

public void setContent(JComponent component)

Specified by:
setContent in interface ApplicationFrame
Parameters:
component - the content of this frame

getFrame

public Object getFrame()

Specified by:
getFrame in interface ApplicationFrame
Returns:
the actual frame

setFrame

public void setFrame(Object frame)

Specified by:
setFrame in interface ApplicationFrame
Parameters:
frame - the actual frame

setName

public void setName(String name)

Specified by:
setName in interface ApplicationFrame
Parameters:
name - the name of the frame. This must be unique.

setTitle

public void setTitle(String title)

Specified by:
setTitle in interface ApplicationFrame
Parameters:
title - the title of the frame

setMinimizable

public void setMinimizable(boolean minimizable)

Specified by:
setMinimizable in interface ApplicationFrame
Parameters:
minimizable - is frame minimizable

setMaximizable

public void setMaximizable(boolean maximizable)

Specified by:
setMaximizable in interface ApplicationFrame
Parameters:
maximizable - is frame maximizable

setClosable

public void setClosable(boolean closable)

Specified by:
setClosable in interface ApplicationFrame
Parameters:
closable - is frame closable

setMinimized

public void setMinimized(boolean minimized)

Specified by:
setMinimized in interface ApplicationFrame
Parameters:
minimized - true if frame should get minimized

setMaximized

public void setMaximized(boolean maximized)

Specified by:
setMaximized in interface ApplicationFrame
Parameters:
maximized - true if frame should get maximized

show

public void show()
Show this frame (if supported).

Specified by:
show in interface ApplicationFrame

setSelected

public void setSelected(boolean selected)

Specified by:
setSelected in interface ApplicationFrame
Parameters:
selected - is frame selected?

close

public void close()
Close this frame.

Specified by:
close in interface ApplicationFrame

getConfiguration

public ToolWindowTabConfiguration getConfiguration()
Returns:
the configuration of the tool window

setConfiguration

public void setConfiguration(ToolWindowTabConfiguration configuration)
Parameters:
configuration - the configuration of the tool window


Copyright © 2005-2011 ELCA. All Rights Reserved.