|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AnnotationComponent
AnnotationComponent interfaces. Oulines two main methods needed for management and state saving but avoids having to load the Swing/awt libraries unless necessary.
| Method Summary | |
|---|---|
void |
dispose()
|
org.icepdf.core.pobjects.annotations.Annotation |
getAnnotation()
Gets wrapped annotation object. |
org.icepdf.core.pobjects.Document |
getDocument()
|
int |
getPageIndex()
|
PageViewComponent |
getPageViewComponent()
|
PageViewComponent |
getParentPageView()
|
boolean |
hasFocus()
Component has focus. |
boolean |
isBorderStyle()
border has defined style. |
boolean |
isEditable()
Component is editable, contents can be updated in ui |
boolean |
isMovable()
Component is movable. |
boolean |
isResizable()
Component is resizable. |
boolean |
isRollover()
Component highlight/select border is draw on mouse over. |
boolean |
isSelected()
|
boolean |
isShowInvisibleBorder()
Component is editable, contents can be updated in ui |
void |
refreshAnnotationRect()
Refreshed the annotation rectangle by inverting the components current bounds with the current page transformation. |
void |
refreshDirtyBounds()
Refreshs the annotations bounds rectangle. |
void |
repaint()
|
void |
resetAppearanceShapes()
|
void |
setSelected(boolean selected)
|
| Method Detail |
|---|
org.icepdf.core.pobjects.annotations.Annotation getAnnotation()
void refreshDirtyBounds()
void refreshAnnotationRect()
boolean hasFocus()
boolean isEditable()
boolean isShowInvisibleBorder()
boolean isRollover()
boolean isMovable()
boolean isResizable()
boolean isBorderStyle()
boolean isSelected()
org.icepdf.core.pobjects.Document getDocument()
int getPageIndex()
PageViewComponent getParentPageView()
void setSelected(boolean selected)
void repaint()
void resetAppearanceShapes()
PageViewComponent getPageViewComponent()
void dispose()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||