Code example for TreeSet

Methods: remove

0
    if (property instanceof TreeSet)
    { 
      return (TreeSet<Integer>) property;
    } 
 
    final TreeSet<Integer> retval = new TreeSet<Integer>();
    renderContext.getProperties().put("::layout-report-tree:expanded-nodes", retval);
    return retval;
  } 
 
  protected void addExpandedNode (final int row)
  { 
    getExpandedNodes().add(row);
  } 
 
  protected void removeExpandedNode (final int row)
  { 
    getExpandedNodes().remove(row);
  } 
 
  protected void restoreState() 
  { 
    SwingUtilities.invokeLater(new RestoreStateTask());