public class BookmarkTool extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static int | BOLD | 
| static int | ITALIC | 
| static int | PLAIN | 
| Constructor and Description | 
|---|
| BookmarkTool() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
public static final int PLAIN
public static final int ITALIC
public static final int BOLD
public static void setDefaultColor(Color color)
color - the default colorpublic static Color getDefaultColor()
public static void setDefaultStyleItalic(boolean italic)
italic - the italic flagpublic static boolean isDefaultStyleItalic()
public static void setDefaultStyleBold(boolean bold)
bold - the bold flagpublic static boolean isDefaultStyleBold()