|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qoppa.pdfNotes.settings.SoundTool
public class SoundTool
This class manages the default properties and settings for the Sound 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 | |
|---|---|
SoundTool()
|
|
| Method Summary | |
|---|---|
static Color |
getDefaultColor()
Returns the default color. |
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 |
setDefaultColor(Color defaultColor)
Sets the default color. |
static void |
setDefaultProperties(Sound sound)
This is a convenience method to set the Sound properties to the SoundTool 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 SoundTool()
| Method Detail |
|---|
public static void setDefaultProperties(Sound sound)
public static Color getDefaultColor()
public static void setDefaultColor(Color defaultColor)
defaultColor - the new default colorpublic 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 | |||||||||