|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Notation.AnnotationType>
eTextReader.clientInterface.Notation.AnnotationType
public static enum Notation.AnnotationType
An enum outlining all the possible types of annotations, and allowing access to several properties based on this type.
Enum Constant Summary | |
---|---|
ANNOTATION_BOOKMARK
|
|
BOOKMARK
|
|
DIAGRAM
|
|
DISCUSSION
|
|
GLOBAL_BOOKMARK
|
|
HIGHLIGHT
|
|
INK_DIAGRAM
|
|
LAST_POSITION
|
|
LINK
|
|
PROGRAM_REFERENCE
|
|
QUICK_NOTE
|
|
READING_BOOKMARK
|
|
TAB_POSITION
|
|
TEXT_NOTE
|
Field Summary | |
---|---|
private static java.util.Hashtable<java.lang.String,Notation.AnnotationType> |
names
|
Method Summary | |
---|---|
boolean |
displayIconForAnnotation()
Determines whether or not an icon is displayed for this annotation type |
java.lang.String |
getHref()
Returns a string used to identify the type of icon when it is moused over |
java.lang.String |
getIcon()
Returns a string representing the icon filename used to represent the given |
Notation.ICON_LOCATION |
getIconLocation()
Indicates where, relative to the selected text, an icon should be placed for the annotation |
int |
getImageBorder()
Returns the size of the border that should be drawn around the image associated with this type of annotation. |
static Notation.AnnotationType |
getTypeForName(java.lang.String name)
|
boolean |
highlightSelectionOnMouseOver()
Indicates whether or not the selected portion of text associated with this annotation should be highlighted when the mouse hovers over the icon for the annotation |
boolean |
includeInAnnotationListing()
Indicates whether this type of annotation listing should be included in the annotation listing window |
boolean |
isPopupEnabledByDefault()
Determines whether or not a popup window is shown by default for this type of annotation |
boolean |
showDeleteInPopupMenu()
Indicates whether or not a popup menu should include a "Delete" entry in a popup menu |
boolean |
showPopupOnMouseOver()
Indicates whether or not the a popup window should be shown when the mouse hovers over the icon for the annotation |
boolean |
showViewAnnotationInPopupMenu()
Indicates whether or not a popup menu should include a "View" entry in a popup menu |
java.lang.String |
toString()
Returns a human-friendly string representation of this type of annotation |
static Notation.AnnotationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Notation.AnnotationType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Notation.AnnotationType GLOBAL_BOOKMARK
public static final Notation.AnnotationType READING_BOOKMARK
public static final Notation.AnnotationType BOOKMARK
public static final Notation.AnnotationType ANNOTATION_BOOKMARK
public static final Notation.AnnotationType DIAGRAM
public static final Notation.AnnotationType INK_DIAGRAM
public static final Notation.AnnotationType TEXT_NOTE
public static final Notation.AnnotationType HIGHLIGHT
public static final Notation.AnnotationType LINK
public static final Notation.AnnotationType LAST_POSITION
public static final Notation.AnnotationType DISCUSSION
public static final Notation.AnnotationType PROGRAM_REFERENCE
public static final Notation.AnnotationType QUICK_NOTE
public static final Notation.AnnotationType TAB_POSITION
Field Detail |
---|
private static java.util.Hashtable<java.lang.String,Notation.AnnotationType> names
Method Detail |
---|
public static final Notation.AnnotationType[] values()
for(Notation.AnnotationType c : Notation.AnnotationType.values()) System.out.println(c);
public static Notation.AnnotationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static Notation.AnnotationType getTypeForName(java.lang.String name) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public java.lang.String getIcon()
public java.lang.String getHref()
public boolean isPopupEnabledByDefault()
public int getImageBorder()
public boolean showPopupOnMouseOver()
public java.lang.String toString()
toString
in class java.lang.Enum<Notation.AnnotationType>
public boolean showDeleteInPopupMenu()
public boolean includeInAnnotationListing()
public boolean highlightSelectionOnMouseOver()
public Notation.ICON_LOCATION getIconLocation()
public boolean showViewAnnotationInPopupMenu()
public boolean displayIconForAnnotation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |