|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JToolBar
com.qoppa.pdfNotes.AnnotPropertiesToolbar
public class AnnotPropertiesToolbar
The AnnotPropertiesToolbar allows changing common annotation properties quickly from a tool bar without the need to open the full properties dialog. The controls in the tool bar are customized depending on the type of annotation selected.
The tool bar can be shown in a dialog with setDefaultDialogVisible(boolean),
or the tool bar can be added to another Container.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JToolBar |
|---|
JToolBar.Separator |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.BaselineResizeBehavior |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
AnnotPropertiesToolbar(PDFNotesBean notesBean)
This method initializes the annotations toolbar. |
|
| Method Summary | |
|---|---|
JSeparator |
createSeparator()
Convenience method to create a JSeparator that is used in other tool bars. |
JButton |
getJbBorderColor()
Returns the border color button. |
JButton |
getJbColor()
Returns the color button. |
JButton |
getJbFillColor()
Returns the fill color button. |
AbstractButton |
getJbLineWidth()
Returns the line width button. |
JButton |
getJbTextColor()
Returns the text color button. |
AbstractButton |
getJbTransparency()
Returns the transparency button. |
JComboBox |
getJcbTextFont()
Returns the Text Font combobox. |
JComboBox |
getJcbTextFontSize()
Returns the Text Font Size combobox. |
Window |
setDefaultDialogVisible(boolean visible)
Shows or hides the AnnotPropertiesToolbar in a default floating
dialog implementation. |
void |
setPackWindowOnSelection(boolean packWindow)
The AnnotProperitesToolbar can be added to a PDFNotesBean or displayed in another Component or Window. |
| Methods inherited from class javax.swing.JToolBar |
|---|
add, addSeparator, addSeparator, getAccessibleContext, getComponentAtIndex, getComponentIndex, getMargin, getOrientation, getUI, getUIClassID, isBorderPainted, isFloatable, isRollover, setBorderPainted, setFloatable, setLayout, setMargin, setOrientation, setRollover, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotPropertiesToolbar(PDFNotesBean notesBean)
| Method Detail |
|---|
public JButton getJbColor()
public JButton getJbBorderColor()
public JButton getJbFillColor()
public JButton getJbTextColor()
public AbstractButton getJbLineWidth()
public AbstractButton getJbTransparency()
public JComboBox getJcbTextFont()
public JComboBox getJcbTextFontSize()
public JSeparator createSeparator()
public void setPackWindowOnSelection(boolean packWindow)
packWindow - boolean indicating whether to pack it's parent Window when an
Annotation is selectedpublic Window setDefaultDialogVisible(boolean visible)
AnnotPropertiesToolbar in a default floating
dialog implementation. If a custom dialog is preferred, the
AnnotPropertiesToolbar can be added to another
Window or Container.
visible - if true, shows the dialog;
otherwise, hides this dialog
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||