|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.qoppa.pdfNotes.settings.LinkTool
This class manages the default properties and settings for the Link 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 | |
LinkTool()
|
|
| Method Summary | |
static Color |
getDefaultBorderColor()
Returns the color used for the border when a new annotation is created. |
static int |
getDefaultBorderWidth()
Returns the default border width, used when new annotations are created. |
static Dimension |
getMinimumAnnotSize()
Gets the minimum size for the annotations created with this Tool. |
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 void |
setDefaultBorderColor(Color defaultBorderColor)
Sets the default border color. |
static void |
setDefaultBorderWidth(int defaultBorderWidth)
Sets the border line width used when a new annotation is created. |
static void |
setDefaultProperties(Link link)
This is a convenience method to set the Link properties to the LinkTool default properties. |
static void |
setMinimumAnnotSize(Dimension minimumAnnotSize)
Sets the minimum size for the annotations created with this Tool. |
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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LinkTool()
| Method Detail |
public static void setDefaultProperties(Link link)
public static int getDefaultBorderWidth()
public static void setDefaultBorderWidth(int defaultBorderWidth)
defaultBorderWidth - The new default border line widthpublic static Color getDefaultBorderColor()
public static void setDefaultBorderColor(Color defaultBorderColor)
defaultBorderColor - The new default border color.public static boolean isShowPropDialog()
public static void setShowPropDialog(boolean showPropDialog)
showPropDialog - the showPropDialog 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 | ||||||||||