|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MainFrameService
A MainFrameService
defines a service providing a frame in which components can be registered.
Method Summary | |
---|---|
void |
addComponent(String title,
Component component)
Adds the given Component to the frame. |
void |
close()
Closes the frame. |
void |
display()
Displays the frame. |
JFrame |
getFrame()
Returns the JFrame managed by the service. |
void |
invokeLater(Runnable runnable)
Invokes the given runnable later. |
void |
removeComponent(Component component)
Removes the given component from the frame. |
Method Detail |
---|
void display()
void close()
JFrame getFrame()
JFrame
managed by the service.
void addComponent(String title, Component component)
Component
to the frame.
title
- title of the component to displaycomponent
- component to addvoid removeComponent(Component component)
component
- the component to removevoid invokeLater(Runnable runnable)
runnable
- the runnable to invoke
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |