void function ( AnnotationComponent arg0 ) { if ( this . currentAnnotation != null ) { this . currentAnnotation . setSelected ( false ) ; this . currentAnnotation . repaint ( ) ; } this . currentAnnotation = arg0 ; if ( this . currentAnnotation != null ) { this . currentAnnotation . setSelected ( true ) ; } }
sets the current annotation . this is manily called by the ui tools when editing and selecting page annotations . concode_field_sep ArrayList<WeakReference<AbstractPageViewComponent>> selectedPageText concode_elem_sep float oldUserZoom concode_elem_sep float userZoom concode_elem_sep int MAX_PAGE_SIZE_READ_AHEAD concode_elem_sep UndoCaretaker undoCaretaker concode_elem_sep int oldPageIndex concode_elem_sep Logger log concode_elem_sep int pageBoundary concode_elem_sep List<AbstractPageViewComponent> pageComponents concode_elem_sep int userToolModeFlag concode_elem_sep float oldUserRotation concode_elem_sep boolean selectAll concode_elem_sep int oldUserToolModeFlag concode_elem_sep AnnotationComponent currentAnnotation concode_elem_sep Document currentDocument concode_elem_sep float userRotation concode_elem_sep int currentPageIndex concode_field_sep AnnotationComponent getCurrentAnnotation concode_elem_sep boolean setViewRotation concode_elem_sep int getViewCurrentPageIndex concode_elem_sep List<AbstractPageViewComponent> getPageComponents concode_elem_sep boolean setViewZoom concode_elem_sep Document getDocument concode_elem_sep float getViewRotation concode_elem_sep boolean isViewToolModeSelected concode_elem_sep void clearSelectedPageText concode_elem_sep boolean setViewToolMode concode_elem_sep UndoCaretaker getAnnotationCareTaker concode_elem_sep float getViewZoom concode_elem_sep boolean setViewCurrentPageIndex concode_elem_sep void invalidate concode_elem_sep int getPageBoundary concode_elem_sep Rectangle getPageBounds concode_elem_sep boolean isSelectAll concode_elem_sep int getViewToolMode concode_elem_sep void addMemento concode_elem_sep void setPageBoundary concode_elem_sep void setSelectAll concode_elem_sep void addSelectedPageText concode_elem_sep void dispose concode_elem_sep ArrayList<WeakReference<AbstractPageViewComponent>> getSelectedPageText