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
.
Modifier and Type | Field and Description |
---|---|
static int |
SHOW_NOTHING |
static int |
SHOW_POPUP |
static int |
SHOW_PROPS_DIALOG |
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 int |
getShowOption()
Returns the option for what this Tool should do after it creates the
annotation.
|
static boolean |
isShowPropDialog()
Deprecated.
|
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 |
setShowOption(int option)
Sets the option for what this Tool should do after it creates the
annotation.
|
static void |
setShowPropDialog(boolean showPropDialog)
Deprecated.
|
public static int SHOW_NOTHING
public static int SHOW_PROPS_DIALOG
public static int SHOW_POPUP
public static void setDefaultProperties(FileAttachment fileAttachment)
public static int getDefaultTransparency()
public static void setDefaultTransparency(int defaultTransparency)
defaultTransparency
- The new default transparency value@Deprecated public static boolean isShowPropDialog()
@Deprecated public static void setShowPropDialog(boolean showPropDialog)
showPropDialog
- the showPropDialog to setpublic static int getShowOption()
SHOW_NOTHING
, SHOW_PROPS_DIALOG
, or
.public static void setShowOption(int option)
SHOW_NOTHING
, SHOW_PROPS_DIALOG
, or
.option
-