|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.glaivestone.javax.util.EventManager | +--com.glaivestone.mv.ApplicationModel | +--com.glaivestone.mv.FrameWindowApplicationModel
An application model which supports frame window views.
Frame windows usually have a title bar containing a title reflecting the application name and the application subject (e.g., a document or other content stored in a backing file), along with an icon representing the application.
Applications which operate on subject content should provide a description of the current subject. The subject description should be updated whenever the subject is changed. Applications which operate on a fixed subject need not (and perhaps should not) provide a subject description.
Constructor Summary | |
FrameWindowApplicationModel()
Creates a new application model. |
|
FrameWindowApplicationModel(java.lang.String title)
Creates a new application model with the specified title. |
|
FrameWindowApplicationModel(java.lang.String title,
java.lang.String subjectDescription)
Creates a new application model with the specified title and subject. |
Method Summary | |
java.net.URL |
getIconReference()
Answer a reference to the icon for this application. |
StringHolder |
getSubjectDescriptionHolder()
Answer the model containing the description of the application subject. |
java.lang.String |
getTitle()
Answer the title of this application. |
Methods inherited from class com.glaivestone.mv.ApplicationModel |
closeWindow, getAllViews, getAllViews, getAllViews, getView, getWindow, openWindow, openWindow, requestCloseWindow, resolveResourceReference |
Methods inherited from class com.glaivestone.javax.util.EventManager |
addFirstListener, addListener, getEventTable, getEventTableForEdit, getListeners, removeListener |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FrameWindowApplicationModel()
public FrameWindowApplicationModel(java.lang.String title)
public FrameWindowApplicationModel(java.lang.String title, java.lang.String subjectDescription)
Applications which do not support a subject should specify
NO_SUBJECT
. Applications which support a subject
but are initially empty should specify EMPTY_SUBJECT
.
Method Detail |
public java.net.URL getIconReference()
Generally used in the window titlebar of the view.
public java.lang.String getTitle()
May be used in the window title of the view.
public StringHolder getSubjectDescriptionHolder()
May be used in the window title of the view.
|
GFL 1.1 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |