|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qoppa.pdfNotes.settings.RedactionTool
public class RedactionTool
This class manages the default properties and settings for the Redaction Tool.
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 | |
|---|---|
RedactionTool()
|
|
| Method Summary | |
|---|---|
static Color |
getCurrentFillColor()
Returns the current fill color. |
static Color |
getCurrentOverlayFillColor()
Returns the current overylay fill color. |
static Color |
getDefaultFillColor()
Returns the default fill color. |
static float |
getDefaultFillOpacity()
Returns the default fill opacity. |
static int |
getDefaultFillTransparency()
Returns the default fill transparency. |
static Color |
getDefaultOutlineColor()
Returns the default outline color. |
static Color |
getDefaultOverlayFillColor()
Returns the default overlay fill color. |
static boolean |
isShowPropDialog()
Gets the flag for this Tool to show or not the annotation properties popup dialog after an annotation has been created. |
static boolean |
isToolSticky()
Returns a flag indicating if this tool is sticky. |
static void |
setDefaultFillColor(Color c)
Sets the default fill color. |
static void |
setDefaultFillTransparency(int t)
Sets the default fill transparency. |
static void |
setDefaultOutlineColor(Color c)
Sets the default outline color. |
static void |
setDefaultOverlayFillColor(Color c)
Sets the default overlay fill color. |
static void |
setShowPropDialog(boolean showPropDialog)
Sets the flag for this Tool to show or not the annotation properties popup dialog after an annotation has been created. |
static void |
setToolSticky(boolean toolSticky)
Sets the flag that indicates whether this tool is sticky or not. |
static void |
setUseFill(boolean b)
Sets whether to use the default fill color. |
static void |
setUseOverlay(boolean b)
Set whether to use the overlay. |
static boolean |
useFill()
Returns whether or not the fill color will be used. |
static boolean |
useOverlay()
Returns whether or not the overlay will be used. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RedactionTool()
| Method Detail |
|---|
public static void setDefaultOutlineColor(Color c)
c - the default colorpublic static Color getDefaultOutlineColor()
public static void setDefaultFillColor(Color c)
c - the fill colorpublic static Color getDefaultFillColor()
public static void setDefaultFillTransparency(int t)
t - the default fill transparencypublic static int getDefaultFillTransparency()
public static boolean isShowPropDialog()
public static void setShowPropDialog(boolean showPropDialog)
showPropDialog - the showPropDialog to setpublic static void setDefaultOverlayFillColor(Color c)
c - the default overlay fill colorpublic static Color getDefaultOverlayFillColor()
public static float getDefaultFillOpacity()
public static void setUseFill(boolean b)
b - public static boolean useFill()
public static void setUseOverlay(boolean b)
b - public static boolean useOverlay()
public static Color getCurrentFillColor()
public static Color getCurrentOverlayFillColor()
public static boolean isToolSticky()
public static void setToolSticky(boolean toolSticky)
toolSticky - The new value of the sticky flag.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||