public class FileAttachmentTool extends Object
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 and Description |
---|
FileAttachmentTool() |
Modifier and Type | Method and Description |
---|---|
static int |
getDefaultTransparency()
Gets the default transparency value that is used when new annotations are created.
|
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 |
setDefaultProperties(FileAttachment fileAttachment)
This is a convenience method to set the FileAttachment properties to the
FileAttachmentTool 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.
|
public static void setDefaultProperties(FileAttachment fileAttachment)
public static int getDefaultTransparency()
public static void setDefaultTransparency(int defaultTransparency)
defaultTransparency
- Thew new default transparency valuepublic static boolean isShowPropDialog()
public static void setShowPropDialog(boolean showPropDialog)
showPropDialog
- the showPropDialog to set