|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.qoppa.pdfNotes.settings.TextMarkupTools
This class manages the default properties and settings for the Text Markup Tools.
The Tool's property values can be retrieved and initialized with the methods
toXMLString() and setFromXML() in the
AnnotationTools class. Please see
AnnotationTools.
| Constructor Summary | |
TextMarkupTools()
|
|
| Method Summary | |
static Color |
getDefaultCrossoutColor()
Returns the default crossout color. |
static int |
getDefaultCrossoutTransparency()
Returns the default crossout transparency. |
static Color |
getDefaultHighlightColor()
Returns the default highlight color. |
static int |
getDefaultHighlightTransparency()
Returns the default highlight transparency. |
static Color |
getDefaultReplacementColor()
Returns the default replacement color. |
static int |
getDefaultReplacementTransparency()
Returns the default replacement transparency. |
static Color |
getDefaultSquigglyColor()
Returns the default squiggly underline color. |
static int |
getDefaultSquigglyTransparency()
Returns the default squiggly underline transparency. |
static Color |
getDefaultUnderlineColor()
Returns the default underline color. |
static int |
getDefaultUnderlineTransparency()
Returns the default underline transparency. |
static Dimension |
getMinimumAnnotSize()
Gets the minimum size for the annotations created with this Tool. |
static boolean |
isShowPropDialogCrossout()
Gets the flag for this Tool to show or not the annotation properties popup dialog after an annotation has been created. |
static boolean |
isShowPropDialogHighlight()
Gets the flag for this Tool to show or not the annotation properties popup dialog after an annotation has been created. |
static boolean |
isShowPropDialogReplacement()
Gets the flag for this Tool to show or not the annotation properties popup dialog after an annotation has been created. |
static boolean |
isShowPropDialogSquiggly()
Gets the flag for this Tool to show or not the annotation properties popup dialog after an annotation has been created. |
static boolean |
isShowPropDialogUnderline()
Gets the flag for this Tool to show or not the annotation properties popup dialog after an annotation has been created. |
static void |
setDefaultCrossoutColor(Color defaultCrossoutColor)
Sets the default crossout color. |
static void |
setDefaultCrossoutTransparency(int defaultCrossoutTransparency)
Sets the default crossout transparency. |
static void |
setDefaultHighlightColor(Color defaultHighlightColor)
Sets the default highlight color. |
static void |
setDefaultHighlightTransparency(int defaultHighlightTransparency)
Sets the default highlight transparency. |
static void |
setDefaultReplacementColor(Color defaultReplacementColor)
Sets the default replacement color. |
static void |
setDefaultReplacementTransparency(int defaultReplacementTransparency)
Sets the default replacement transparency. |
static void |
setDefaultSquigglyColor(Color defaultSquigglyColor)
Sets the default squiggly underline color. |
static void |
setDefaultSquigglyTransparency(int defaultSquigglyTransparency)
Sets the default squiggly underline transparency. |
static void |
setDefaultUnderlineColor(Color defaultUnderlineColor)
Sets the default underline color. |
static void |
setDefaultUnderlineTransparency(int defaultUnderlineTransparency)
Sets the default underline transparency. |
static void |
setMinimumAnnotSize(Dimension minimumAnnotSize)
Sets the minimum size for the annotations created with this Tool. |
static void |
setShowPropDialogCrossout(boolean showPropDialogCrossout)
Sets the flag for this Tool to show or not the annotation properties popup dialog after an annotation has been created. |
static void |
setShowPropDialogHighlight(boolean showPropDialogHighlight)
Sets the flag for this Tool to show or not the annotation properties popup dialog after an annotation has been created. |
static void |
setShowPropDialogReplacement(boolean showPropDialogReplacement)
Sets the flag for this Tool to show or not the annotation properties popup dialog after an annotation has been created. |
static void |
setShowPropDialogSquiggly(boolean showPropDialogSquiggly)
Sets the flag for this Tool to show or not the annotation properties popup dialog after an annotation has been created. |
static void |
setShowPropDialogUnderline(boolean showPropDialogUnderline)
Sets the flag for this Tool to show or not the annotation properties popup dialog after an annotation has been created. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextMarkupTools()
| Method Detail |
public static Color getDefaultHighlightColor()
public static void setDefaultHighlightColor(Color defaultHighlightColor)
defaultHighlightColor - The new value of the default highlight color to setpublic static Color getDefaultUnderlineColor()
public static void setDefaultUnderlineColor(Color defaultUnderlineColor)
defaultUnderlineColor - The new value of the default underline color to setpublic static Color getDefaultCrossoutColor()
public static void setDefaultCrossoutColor(Color defaultCrossoutColor)
defaultCrossoutColor - The new value of the default crossout color to setpublic static Color getDefaultSquigglyColor()
public static void setDefaultSquigglyColor(Color defaultSquigglyColor)
defaultSquigglyColor - The new value of the default squiggly underline color to setpublic static Color getDefaultReplacementColor()
public static void setDefaultReplacementColor(Color defaultReplacementColor)
defaultReplacementColor - The new value of the default replacement color to setpublic static int getDefaultHighlightTransparency()
public static void setDefaultHighlightTransparency(int defaultHighlightTransparency)
defaultHighlightTransparency - The new value of the default highlight transparency to setpublic static int getDefaultUnderlineTransparency()
public static void setDefaultUnderlineTransparency(int defaultUnderlineTransparency)
defaultUnderlineTransparency - The new value of the default underline transparency to setpublic static int getDefaultCrossoutTransparency()
public static void setDefaultCrossoutTransparency(int defaultCrossoutTransparency)
defaultCrossoutTransparency - The new value of the default crossout transparency to setpublic static int getDefaultSquigglyTransparency()
public static void setDefaultSquigglyTransparency(int defaultSquigglyTransparency)
defaultSquigglyTransparency - The new value of the default squiggly underline transparency to setpublic static int getDefaultReplacementTransparency()
public static void setDefaultReplacementTransparency(int defaultReplacementTransparency)
defaultReplacementTransparency - The new value of the default replacement transparency to setpublic static boolean isShowPropDialogHighlight()
public static void setShowPropDialogHighlight(boolean showPropDialogHighlight)
showPropDialogHighlight - the showPropDialogHighlight to setpublic static boolean isShowPropDialogUnderline()
public static void setShowPropDialogUnderline(boolean showPropDialogUnderline)
showPropDialogUnderline - the showPropDialogUnderline to setpublic static boolean isShowPropDialogCrossout()
public static void setShowPropDialogCrossout(boolean showPropDialogCrossout)
showPropDialogCrossout - the showPropDialogCrossout to setpublic static boolean isShowPropDialogSquiggly()
public static boolean isShowPropDialogReplacement()
public static void setShowPropDialogSquiggly(boolean showPropDialogSquiggly)
showPropDialogSquiggly - the showPropDialogSquiggly to setpublic static void setShowPropDialogReplacement(boolean showPropDialogReplacement)
showPropDialogReplacement - the showPropDialogReplacement to setpublic static Dimension getMinimumAnnotSize()
public static void setMinimumAnnotSize(Dimension minimumAnnotSize)
minimumAnnotSize - the minimumAnnotSize to set
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||