- java.lang.Object
-
- org.icepdf.ri.common.views.annotations.AnnotationState
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnnotationState.Operation
-
Constructor Summary
Constructors Constructor Description AnnotationState(AnnotationComponent annotationComponent, AnnotationState.Operation operation)Stores the annotation state associated with the AnnotationComponents annotation object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationComponentgetAnnotationComponent()AnnotationState.OperationgetOperation()voidrestore()Restores the AnnotationComponents state to the state stored during the construction of this object.voidsynchronizeState()
-
-
-
Constructor Detail
-
AnnotationState
public AnnotationState(AnnotationComponent annotationComponent, AnnotationState.Operation operation)
Stores the annotation state associated with the AnnotationComponents annotation object. When a new instance of this object is created the annotation's properties are saved.- Parameters:
annotationComponent- annotation component whose state will be stored.operation- The operation applied to the annotation
-
-
Method Detail
-
getAnnotationComponent
public AnnotationComponent getAnnotationComponent()
-
getOperation
public AnnotationState.Operation getOperation()
-
restore
public void restore()
Restores the AnnotationComponents state to the state stored during the construction of this object.
-
synchronizeState
public void synchronizeState()
-
-