public class Chapter
extends java.lang.Object
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.| Modifier and Type | Field and Description |
|---|---|
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_name |
protected java.lang.String |
m_resourceBundle
Resource bundle to read strings from.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
getName() |
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.
|
protected java.lang.String m_id
protected java.lang.String m_resourceBundle
protected java.lang.String m_displayNameResourceKey
protected java.lang.String m_displayName
protected java.lang.String m_name
protected static java.util.Hashtable m_chapters
public java.lang.String getName(TaskContext context)
context - TaskContext from the Task plug-inpublic java.lang.String getName()
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-inpublic java.lang.String getId()
public java.lang.String getResourcePropertiesFile()
public java.lang.String getDisplayNameKey()
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 keypublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Chapter object to compare to
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.