|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elca.el4j.services.gui.swing.frames.ExternalApplicationFrame
public class ExternalApplicationFrame
This class represents a frame in a SDI environment.
Constructor Summary | |
---|---|
ExternalApplicationFrame(JFrame frame)
|
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 |
---|
public ExternalApplicationFrame(JFrame frame)
frame
- the frameMethod Detail |
---|
public JComponent getContent()
getContent
in interface ApplicationFrame
public Object getFrame()
getFrame
in interface ApplicationFrame
public void setFrame(Object frame)
setFrame
in interface ApplicationFrame
frame
- the actual framepublic void setName(String name)
setName
in interface ApplicationFrame
name
- the name of the frame. This must be unique.public void setContent(JComponent component)
setContent
in interface ApplicationFrame
component
- the content of this framepublic void setMinimizable(boolean minimizable)
setMinimizable
in interface ApplicationFrame
minimizable
- is frame minimizablepublic void setMaximizable(boolean maximizable)
setMaximizable
in interface ApplicationFrame
maximizable
- is frame maximizablepublic void setClosable(boolean closable)
setClosable
in interface ApplicationFrame
closable
- is frame closablepublic void setTitle(String title)
setTitle
in interface ApplicationFrame
title
- the title of the framepublic void setMinimized(boolean minimized)
setMinimized
in interface ApplicationFrame
minimized
- true
if frame should get minimizedpublic void setMaximized(boolean maximized)
setMaximized
in interface ApplicationFrame
maximized
- true
if frame should get maximizedpublic void show()
show
in interface ApplicationFrame
public void setSelected(boolean selected)
setSelected
in interface ApplicationFrame
selected
- is frame selected?public void close()
close
in interface ApplicationFrame
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |