示例#1
0
  /** Dispose */
  public void dispose() {

    if (this.contents != null) {
      for (AbstractWingElement element : contents) {
        element.dispose();
      }
      this.contents.clear();
    }
    this.contents = null;
    super.dispose();
  }
示例#2
0
 /** dispose */
 public void dispose() {
   if (head != null) {
     head.dispose();
   }
   head = null;
   for (AbstractWingElement content : contents) {
     content.dispose();
   }
   contents.clear();
   contents = null;
   super.dispose();
 }
示例#3
0
 /** dispose */
 public void dispose() {
   super.dispose();
 }
 /** dispose */
 public void dispose() {
   // Nothing to clean up.
   super.dispose();
 }