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

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

public class InternalApplicationFrame
extends Object
implements ApplicationFrame

This class represents a frame in a MDI environment.

Author:
Stefan Wismer (SWI)
File-location:
InternalApplicationFrame
Last check-in date:
2009-08-04 15:06:35 +0200 (Di, 04. Aug 2009) by swismer for revision 3878

Constructor Summary
InternalApplicationFrame(JInternalFrame internalFrame)
           
 
Method Summary
 void close()
          Close this frame.
 JComponent getContent()
          
 Object getFrame()
          
 void setClosable(boolean closable)
          
 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
 

Constructor Detail

InternalApplicationFrame

public InternalApplicationFrame(JInternalFrame internalFrame)
Parameters:
internalFrame - the internal frame
Method Detail

getContent

public JComponent getContent()

Specified by:
getContent in interface ApplicationFrame
Returns:
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.

setContent

public void setContent(JComponent component)

Specified by:
setContent in interface ApplicationFrame
Parameters:
component - the content of this 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

setTitle

public void setTitle(String title)

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

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


Copyright © 2005-2011 ELCA. All Rights Reserved.