|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IViewer
The front end GUI of the mod environment. This acts as the view in the model-view-presenter paradigm. This interface provides the presenter with methods for requesting information and updating the view. Generally views should not handle user events or program logic not directly related the interface, but should instead inform the presenter so the presenter may take the proper action.
Method Summary | |
---|---|
void |
changeCategories(java.util.Collection<java.lang.String> categories)
|
void |
changeFrames(java.util.Collection<AbstractListFrame> frames)
Removes all ListFrames currently in the center panel and replaces them with new ones which are automatically displayed. |
java.lang.String |
getCurrentCategory()
Allows the presenter to determine which category of resources the viewer currently has selected |
void |
initialize()
Initialize the viewer after construction. |
java.io.File |
openFileSelect()
Allows the presenter a graphical means of selecting a file to open. |
java.io.File |
saveFileSelect()
Allows the presenter a graphical means of selecting a file to close. |
Method Detail |
---|
void initialize()
java.io.File openFileSelect()
java.io.File saveFileSelect()
java.lang.String getCurrentCategory()
void changeCategories(java.util.Collection<java.lang.String> categories)
void changeFrames(java.util.Collection<AbstractListFrame> frames)
frames
- ListFrames to populate the center panel with
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |