|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAnnotationManager
This interface manages the selection cycle for AnnotationComponents.
AnnotationComponents can be programmatically selected and deselected with
selectAnnotationComponent(AnnotationComponent) and deselectAnnotationComponent(AnnotationComponent).
Listeners can register with this class with addSelectionListener(IAnnotSelectionListener).
An implementation of this class can be obtained from a PDFViewerBean with
PDFViewerBean.getAnnotationManager().
| Method Summary | |
|---|---|
void |
addComponentToSelection(AnnotationComponent ac)
Adds an annotation component to the list of selected annotations. |
void |
addSelectionListener(IAnnotSelectionListener listener)
Adds a selection listener to the manager. |
void |
clearSelection()
Clears the current annotation component selection. |
void |
deselectAnnotationComponent(AnnotationComponent ac)
Deselects an annotation. |
Vector |
getSelectedComponents()
Returns a list of annotation components that are selected. |
boolean |
isSelected(AnnotationComponent ac)
Returns a flag that indicates whether the selection component is selected. |
void |
selectAnnotationComponent(AnnotationComponent ac)
Selects an annotation. |
void |
selectAnnotationComponents(AnnotationComponent[] acs)
Selects a list of annotations. |
| Method Detail |
|---|
void addComponentToSelection(AnnotationComponent ac)
ac - The annotation component to addvoid addSelectionListener(IAnnotSelectionListener listener)
listener - The new listenervoid clearSelection()
void deselectAnnotationComponent(AnnotationComponent ac)
ac - The annotation to deselectVector getSelectedComponents()
boolean isSelected(AnnotationComponent ac)
ac - The annotation component
void selectAnnotationComponent(AnnotationComponent ac)
ac - The annotation to selectvoid selectAnnotationComponents(AnnotationComponent[] acs)
acs - The annotations to select
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||