Package com.projity.pm.graphic.spreadsheet.selection.event

Examples of com.projity.pm.graphic.spreadsheet.selection.event.SelectionNodeEvent


  public SelectionNodeListener[] getSelectionNodeListeners() {
    return (SelectionNodeListener[]) selectionNodeListenerList.getListeners(SelectionNodeListener.class);
  }
  public void fireContentsChanged(Object source, List nodes, Node currentNode) {
    Object[] listeners = selectionNodeListenerList.getListenerList();
    SelectionNodeEvent e = null;
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
      if (listeners[i] == SelectionNodeListener.class) {
        if (e == null) {
          e = new SelectionNodeEvent(source,
              SelectionNodeEvent.SELECTION_CHANGED, nodes, currentNode,getSpreadSheetCategory());
        }
        ((SelectionNodeListener) listeners[i + 1]).selectionChanged(e);
      }
    }
View Full Code Here

TOP

Related Classes of com.projity.pm.graphic.spreadsheet.selection.event.SelectionNodeEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.