예제 #1
0
 @Override
 public void hide() {
   for (SelectorPanel SEE : SE) {
     SEE.hide();
   }
   super.hide();
 }
예제 #2
0
  @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);
    }
  }