com.qoppa.pdfNotes.settings
Class BookmarkTool

java.lang.Object
  extended by com.qoppa.pdfNotes.settings.BookmarkTool

public class BookmarkTool
extends Object

This class manages the default appearance for the bookmarks.

Author:
Qoppa Software

Field Summary
static int BOLD
           
static int ITALIC
           
static int PLAIN
           
 
Constructor Summary
BookmarkTool()
           
 
Method Summary
static Color getDefaultColor()
          Gets the default color that is used when new bookmarks are created.
static boolean isDefaultStyleBold()
          Returns a flag indicating if the style is bold.
static boolean isDefaultStyleItalic()
          Returns a flag indicating if the style is italic.
static void setDefaultColor(Color color)
          Sets the default color that is used when a new bookmarks are created.
static void setDefaultStyleBold(boolean bold)
          Sets the flag that indicates if the style is bold.
static void setDefaultStyleItalic(boolean italic)
          Sets the flag that indicates if the style is italic.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLAIN

public static final int PLAIN
See Also:
Constant Field Values

ITALIC

public static final int ITALIC
See Also:
Constant Field Values

BOLD

public static final int BOLD
See Also:
Constant Field Values
Constructor Detail

BookmarkTool

public BookmarkTool()
Method Detail

setDefaultColor

public static void setDefaultColor(Color color)
Sets the default color that is used when a new bookmarks are created.

Parameters:
color - the default color

getDefaultColor

public static Color getDefaultColor()
Gets the default color that is used when new bookmarks are created.

Returns:
the default color

setDefaultStyleItalic

public static void setDefaultStyleItalic(boolean italic)
Sets the flag that indicates if the style is italic.

Parameters:
italic - the italic flag

isDefaultStyleItalic

public static boolean isDefaultStyleItalic()
Returns a flag indicating if the style is italic.

Returns:
the italic flag

setDefaultStyleBold

public static void setDefaultStyleBold(boolean bold)
Sets the flag that indicates if the style is bold.

Parameters:
bold - the bold flag

isDefaultStyleBold

public static boolean isDefaultStyleBold()
Returns a flag indicating if the style is bold.

Returns:
the bold flag