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

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

public class ContentApplicationFrame
extends Object
implements ApplicationFrame

This class represents a frame in a docking environment.

Author:
Stefan Wismer (SWI)
File-location:
ContentApplicationFrame
Last check-in date:
2009-08-04 13:59:45 +0200 (Di, 04. Aug 2009) by swismer for revision 3873

Field Summary
protected  org.noos.xing.mydoggy.Content m_content
          The representation of a frame in a docking environment.
protected  ContentConfiguration m_contentConfiguration
          A descriptor of the content which allows to use the frame (in a limited way) before it's visible.
 
Constructor Summary
ContentApplicationFrame(ContentConfiguration contentDescriptor)
           
 
Method Summary
 void close()
          Close this frame.
 ContentConfiguration getConfiguration()
           
 JComponent getContent()
          
 Object getFrame()
          
 void setClosable(boolean closable)
          
 void setConfiguration(ContentConfiguration 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_content

protected org.noos.xing.mydoggy.Content m_content
The representation of a frame in a docking environment.


m_contentConfiguration

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

Constructor Detail

ContentApplicationFrame

public ContentApplicationFrame(ContentConfiguration contentDescriptor)
Parameters:
contentDescriptor - 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 ContentConfiguration getConfiguration()
Returns:
the configuration of the content

setConfiguration

public void setConfiguration(ContentConfiguration configuration)
Parameters:
configuration - the configuration of the content


Copyright © 2005-2011 ELCA. All Rights Reserved.