@Override public void hide() { for (SelectorPanel SEE : SE) { SEE.hide(); } super.hide(); }
@Override public void show() { super.show(); SE = new ArrayList<SelectorPanel>(); for (TextSelectorClient TS : annotation.getTextSelectors()) { SelectorPanel SEE = new SelectorPanel( TS.getX().intValue(), TS.getY().intValue(), image.getAbsoluteLeft(), image.getAbsoluteTop(), TS.getWidth().intValue(), TS.getHeight().intValue()); SEE.show(); SE.add(SEE); } }
@Override protected void continueDragging(MouseMoveEvent event) { super.continueDragging(event); if (SE != null) for (SelectorPanel SEE : SE) { SEE.hide(); } SE = new ArrayList<SelectorPanel>(); for (TextSelectorClient TS : annotation.getTextSelectors()) { SelectorPanel SEE = new SelectorPanel( TS.getX().intValue(), TS.getY().intValue(), image.getAbsoluteLeft(), image.getAbsoluteTop(), TS.getWidth().intValue(), TS.getHeight().intValue()); SEE.show(); SE.add(SEE); } }