|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qoppa.pdfNotes.settings.StickyNoteTool
public class StickyNoteTool
This class manages the default properties and settings for the Sticky Note
Tool. The method setDefaultProperties() can be used to set the
Annotation properties to this Tool's default properties.
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 | |
|---|---|
StickyNoteTool()
|
|
| Method Summary | |
|---|---|
static Color |
getDefaultColor()
Returns the default color. |
static int |
getDefaultTransparency()
Gets the default transparency value that is used when new annotations are created. |
static boolean |
isDefaultInitiallyOpen()
Returns the initially open flag used when creating a sticky note annotation. |
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 |
setDefaultColor(Color defaultColor)
Sets the default color. |
static void |
setDefaultFillColor(Color defaultColor)
Sets the default color. |
static void |
setDefaultInitiallyOpen(boolean defaultInitiallyOpen)
Sets the initially open flag to use when creating new sticky note annotations. |
static void |
setDefaultProperties(Text text)
This is a convenience method to set the Text properties to the Sticky Note Tool default properties. |
static void |
setDefaultTransparency(int defaultTransparency)
Sets the default transparency values when new annotations are created. |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StickyNoteTool()
| Method Detail |
|---|
public static void setDefaultProperties(Text text)
public static int getDefaultTransparency()
public static void setDefaultTransparency(int defaultTransparency)
defaultTransparency - Thew new default transparency valuepublic static Color getDefaultColor()
public static void setDefaultColor(Color defaultColor)
defaultColor - the new default colorpublic static void setDefaultFillColor(Color defaultColor)
defaultColor - the new default colorpublic static boolean isDefaultInitiallyOpen()
public static void setDefaultInitiallyOpen(boolean defaultInitiallyOpen)
defaultInitiallyOpen - The new value of the default initially openpublic static boolean isToolSticky()
public static void setToolSticky(boolean toolSticky)
toolSticky - The new value of the sticky flag.public static boolean isShowPropDialog()
public static void setShowPropDialog(boolean showPropDialog)
showPropDialog - the showPropDialog to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||