|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.emframe.dev.Chapter
PropertyBook contain Chapters, and Chapters can contain multiple PropertyBookPage objects.
In the UI, a Chapter is displayed as a tab. PropertyBookPages contained within the Chapter are shown with links
below the Chapter tab.
In Java implementation, Property Books don't contain lists of Chapters. Instead, PropertyBook contains lists
of PropertyBookPages, and the PropertyBookPage contain the Chapter they are contained by.
A PropertyBook then constructs the Chapter Java objects to contain the pages for display in the UI.
| Field Summary | |
protected static java.util.Hashtable |
m_chapters
Static Hashtable of all Chapters. |
protected java.lang.String |
m_displayName
Actual display name. |
protected java.lang.String |
m_displayNameResourceKey
Key to lookup display name in the resource bundle. |
protected java.lang.String |
m_id
ID of this Chapter. |
protected java.lang.String |
m_resourceBundle
Resource bundle to read strings from. |
| Method Summary | |
static Chapter |
createChapter(java.lang.String id,
java.lang.String resourceBundleFile,
java.lang.String displayNameResourceKey)
Static call to create a Chapter. |
boolean |
equals(java.lang.Object obj)
Comparator for Chapter objects. |
java.lang.String |
getDisplayNameKey()
Returns the display name key for this Chapter. |
java.lang.String |
getId()
Returns the unique identifier for this Chapter. |
static java.lang.String |
getName(java.lang.String strChapterId,
TaskContext context)
Static call that returns the actual display name for a given Chapter. |
java.lang.String |
getName(TaskContext context)
Returns the localized display name of this Chapter. |
java.lang.String |
getResourcePropertiesFile()
Returns the resource properties file for this Chapter. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static java.util.Hashtable m_chapters
protected java.lang.String m_displayName
protected java.lang.String m_displayNameResourceKey
protected java.lang.String m_id
protected java.lang.String m_resourceBundle
| Method Detail |
public static Chapter createChapter(java.lang.String id,
java.lang.String resourceBundleFile,
java.lang.String displayNameResourceKey)
id - String containing a unique ID for the new ChapterresourceBundleFile - String containing the resource filedisplayNameResourceKey - String containing the display name key
public boolean equals(java.lang.Object obj)
obj - Chapter object to compare to
public java.lang.String getDisplayNameKey()
public java.lang.String getId()
public static java.lang.String getName(java.lang.String strChapterId,
TaskContext context)
strChapterId - ID of the Chapter to get the actual display namecontext - TaskContext from the Task plug-in
public java.lang.String getName(TaskContext context)
context - TaskContext from the Task plug-in
public java.lang.String getResourcePropertiesFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||