public void closePopup(){
  if (openedSubPopup != null) {
    openedSubPopup.closePopup();
  }
  removeFromParent();
}

public void closePopup ( ) { if ( openedSubPopup != null ) { openedSubPopup . closePopup ( ) ; } removeFromParent ( ) ; }
close this popup menu .
