コード例 #1
0
  public T setMouseOver(boolean theFlag) {

    mouseover = theFlag;
    if (!mouseover) {
      isInside = false;
      isInsideGroup = false;
      _myControlWindow.removeMouseOverFor(this);
      for (int i = controllers.size() - 1; i >= 0; i--) {
        controllers.get(i).setMouseOver(false);
      }
    } else {
      // TODO since inside can be either isInside or isInsideGroup, there are 2 options here,
      // which i am not sure how to handle them yet.
      _myControlWindow.setMouseOverController(this);
    }
    return me;
  }