Examples of clearSelection()


Examples of nextapp.echo2.app.list.ListSelectionModel.clearSelection()

     */
    private void setSelectedIndices(int[] selectedIndices) {
        // Temporarily suppress the Tables selection event notifier.
        suppressChangeNotifications = true;
        ListSelectionModel selectionModel = getSelectionModel();
        selectionModel.clearSelection();
        for (int i = 0; i < selectedIndices.length; ++i) {
            selectionModel.setSelectedIndex(selectedIndices[i], true);
        }
        // End temporary suppression.
        suppressChangeNotifications = false;
View Full Code Here

Examples of org.apache.myfaces.tobago.model.TreeState.clearSelection()

    if (state != null) {
      if ("TreeOld".equals(tree.getRendererType())) {
        state.clearExpandState();
      }
      if (isSelectable(tree)) {
        state.clearSelection();
      }
      if (ComponentUtil.getBooleanAttribute(tree, TobagoConstants.ATTR_MUTABLE)) {
        state.setMarker(null);
      }
      // scroll position
View Full Code Here

Examples of org.apache.myfaces.tobago.model.TreeState.clearSelection()

    if (state != null) {
      if ("Tree".equals(tree.getRendererType())) {
        state.clearExpandState();
      }
      if (isSelectable(tree)) {
        state.clearSelection();
      }
      if (ComponentUtil.getBooleanAttribute(tree, TobagoConstants.ATTR_MUTABLE)) {
        state.setMarker(null);
      }
    }
View Full Code Here

Examples of org.apache.pivot.wtk.FileBrowser.clearSelection()

        });

        files.getListListeners().add(new ListListener.Adapter<File>() {
            @Override
            public void comparatorChanged(List<File> list, Comparator<File> previousComparator) {
                fileBrowser.clearSelection();
            }
        });

        files.getFilteredListListeners().add(new FilteredListListener.Adapter<File>() {
            @Override
View Full Code Here

Examples of org.apache.pivot.wtk.FileBrowser.clearSelection()

        files.getFilteredListListeners().add(new FilteredListListener.Adapter<File>() {
            @Override
            public void filterChanged(FilteredList<File> filteredList,
                Filter<File> previousFilter) {
                fileBrowser.clearSelection();
            }
        });

        fileTableView.setTableData(files);
View Full Code Here

Examples of org.apache.pivot.wtk.TextInput.clearSelection()

        } else {
            // If focus was permanently transferred within this window,
            // clear the selection
            if (obverseComponent == null
                || obverseComponent.getWindow() == window) {
                textInput.clearSelection();
            }

            showCaret(false);
        }
View Full Code Here

Examples of org.apache.pivot.wtk.TextInput.clearSelection()

        } else {
            // If focus was permanently transferred within this window,
            // clear the selection
            if (obverseComponent == null
                || obverseComponent.getWindow() == window) {
                textInput.clearSelection();
            }

            showCaret(false);
        }
View Full Code Here

Examples of org.apache.pivot.wtk.TreeView.clearSelection()

                                }
                            } else if (Keyboard.isPressed(commandModifier)
                                && selectMode == TreeView.SelectMode.SINGLE) {
                                // Toggle the item's selection state
                                if (nodeInfo.isSelected()) {
                                    treeView.clearSelection();
                                } else {
                                    treeView.setSelectedPath(path);
                                }
                            } else {
                                if (selectMode != TreeView.SelectMode.NONE) {
View Full Code Here

Examples of org.dyno.visual.swing.designer.VisualDesigner.clearSelection()

  }

  public void clearAllSelected() {
    VisualDesigner designer = getDesigner();
    if (designer != null)
      designer.clearSelection();
  }

  public int getState() {
    GlassPlane glass = getGlass();
    if (glass != null)
View Full Code Here

Examples of org.dyno.visual.swing.plugin.spi.WidgetAdapter.clearSelection()

    setSelected(false);
    JInternalFrame jframe = (JInternalFrame) getWidget();
    JMenuBar jmb = jframe.getJMenuBar();
    if (jmb != null) {
      WidgetAdapter jmbAdapter = WidgetAdapter.getWidgetAdapter(jmb);
      jmbAdapter.clearSelection();
    }
    getContentAdapter().clearSelection();
  }
  @Override
  public Component cloneWidget() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.