Tabnine Logo
ColumnControlButton.getColumnVisibilityActions
Code IndexAdd Tabnine to your IDE (free)

How to use
getColumnVisibilityActions
method
in
org.jdesktop.swingx.table.ColumnControlButton

Best Java code snippets using org.jdesktop.swingx.table.ColumnControlButton.getColumnVisibilityActions (Showing top 10 results out of 315)

origin: org.codehaus.jtstand/jtstand-desktop

/**
 * Adds visibility actions into the popup view.
 * 
 * Here: delegates the list of actions to the DefaultColumnControlPopup.
 * <p>
 * PRE: columnVisibilityActions populated before calling this.
 * 
 */
protected void addVisibilityActionItems() {
  getColumnControlPopup().addVisibilityActionItems(
      Collections.unmodifiableList(getColumnVisibilityActions()));
}
origin: org.swinglabs.swingx/swingx-core

/**
 * Adds visibility actions into the popup view.
 * 
 * Here: delegates the list of actions to the DefaultColumnControlPopup.
 * <p>
 * PRE: columnVisibilityActions populated before calling this.
 * 
 */
protected void addVisibilityActionItems() {
  getColumnControlPopup().addVisibilityActionItems(
      Collections.unmodifiableList(getColumnVisibilityActions()));
}
origin: com.haulmont.thirdparty/swingx-core

/**
 * Adds visibility actions into the popup view.
 * 
 * Here: delegates the list of actions to the DefaultColumnControlPopup.
 * <p>
 * PRE: columnVisibilityActions populated before calling this.
 * 
 */
protected void addVisibilityActionItems() {
  getColumnControlPopup().addVisibilityActionItems(
      Collections.unmodifiableList(getColumnVisibilityActions()));
}
origin: org.swinglabs.swingx/swingx-all

/**
 * Adds visibility actions into the popup view.
 * 
 * Here: delegates the list of actions to the DefaultColumnControlPopup.
 * <p>
 * PRE: columnVisibilityActions populated before calling this.
 * 
 */
protected void addVisibilityActionItems() {
  getColumnControlPopup().addVisibilityActionItems(
      Collections.unmodifiableList(getColumnVisibilityActions()));
}
origin: org.bidib.jbidib.swinglabs.swingx/swingx-core

/**
 * Adds visibility actions into the popup view.
 * 
 * Here: delegates the list of actions to the DefaultColumnControlPopup.
 * <p>
 * PRE: columnVisibilityActions populated before calling this.
 * 
 */
protected void addVisibilityActionItems() {
  getColumnControlPopup().addVisibilityActionItems(
      Collections.unmodifiableList(getColumnVisibilityActions()));
}
origin: org.codehaus.jtstand/jtstand-desktop

/**
 * Creates and adds a ColumnVisiblityAction for every column that should be
 * togglable via the column control. <p>
 * 
 * Here: all table columns contained in the <code>TableColumnModel</code> - 
 * visible and invisible columns - to <code>createColumnVisibilityAction</code> and
 * adds all not <code>null</code> return values.
 * 
 * <p>
 * PRE: canControl()
 * 
 * @see #createColumnVisibilityAction
 */
protected void createVisibilityActions() {
  List<TableColumn> columns = table.getColumns(true);
  for (TableColumn column : columns) {
    ColumnVisibilityAction action = createColumnVisibilityAction(column);
    if (action != null) {
      getColumnVisibilityActions().add(action);
    }
  }
}
origin: org.swinglabs.swingx/swingx-all

/**
 * Creates and adds a ColumnVisiblityAction for every column that should be
 * togglable via the column control. <p>
 * 
 * Here: all table columns contained in the <code>TableColumnModel</code> - 
 * visible and invisible columns - to <code>createColumnVisibilityAction</code> and
 * adds all not <code>null</code> return values.
 * 
 * <p>
 * PRE: canControl()
 * 
 * @see #createColumnVisibilityAction
 */
protected void createVisibilityActions() {
  List<TableColumn> columns = table.getColumns(true);
  for (TableColumn column : columns) {
    ColumnVisibilityAction action = createColumnVisibilityAction(column);
    if (action != null) {
      getColumnVisibilityActions().add(action);
    }
  }
}
origin: org.bidib.jbidib.swinglabs.swingx/swingx-core

/**
 * Creates and adds a ColumnVisiblityAction for every column that should be
 * togglable via the column control. <p>
 * 
 * Here: all table columns contained in the <code>TableColumnModel</code> - 
 * visible and invisible columns - to <code>createColumnVisibilityAction</code> and
 * adds all not <code>null</code> return values.
 * 
 * <p>
 * PRE: canControl()
 * 
 * @see #createColumnVisibilityAction
 */
protected void createVisibilityActions() {
  List<TableColumn> columns = table.getColumns(true);
  for (TableColumn column : columns) {
    ColumnVisibilityAction action = createColumnVisibilityAction(column);
    if (action != null) {
      getColumnVisibilityActions().add(action);
    }
  }
}
origin: org.swinglabs.swingx/swingx-core

/**
 * Creates and adds a ColumnVisiblityAction for every column that should be
 * togglable via the column control. <p>
 * 
 * Here: all table columns contained in the <code>TableColumnModel</code> - 
 * visible and invisible columns - to <code>createColumnVisibilityAction</code> and
 * adds all not <code>null</code> return values.
 * 
 * <p>
 * PRE: canControl()
 * 
 * @see #createColumnVisibilityAction
 */
protected void createVisibilityActions() {
  List<TableColumn> columns = table.getColumns(true);
  for (TableColumn column : columns) {
    ColumnVisibilityAction action = createColumnVisibilityAction(column);
    if (action != null) {
      getColumnVisibilityActions().add(action);
    }
  }
}
origin: com.haulmont.thirdparty/swingx-core

/**
 * Creates and adds a ColumnVisiblityAction for every column that should be
 * togglable via the column control. <p>
 * 
 * Here: all table columns contained in the <code>TableColumnModel</code> - 
 * visible and invisible columns - to <code>createColumnVisibilityAction</code> and
 * adds all not <code>null</code> return values.
 * 
 * <p>
 * PRE: canControl()
 * 
 * @see #createColumnVisibilityAction
 */
protected void createVisibilityActions() {
  List<TableColumn> columns = table.getColumns(true);
  for (TableColumn column : columns) {
    ColumnVisibilityAction action = createColumnVisibilityAction(column);
    if (action != null) {
      getColumnVisibilityActions().add(action);
    }
  }
}
org.jdesktop.swingx.tableColumnControlButtongetColumnVisibilityActions

Javadoc

Lazyly creates and returns the List of visibility actions.

Popular methods of ColumnControlButton

  • populatePopup
    Populates the popup from scratch. If applicable, creates and adds column visibility actions. Always
  • <init>
    Creates a column control button for the table. The button uses the given icon and has no text.
  • createVisibilityActions
    Creates and adds a ColumnVisiblityAction for every column that should be togglable via the column co
  • getAdditionalActions
    creates and returns a list of additional Actions to add to the popup. Here: the actions are looked u
  • togglePopup
    Toggles the popup component's visibility. This method is called by this control's default action. H
  • addAdditionalActionItems
    Adds additional actions to the popup, if additionalActionsVisible is true, does nothing otherwise. H
  • addVisibilityActionItems
    Adds visibility actions into the popup view. Here: delegates the list of actions to the DefaultColum
  • canControl
    Method to check if we can control column visibility POST: if true we can be sure to have an extended
  • clearAll
    removes all components from the popup, making sure to release all columnVisibility actions.
  • clearColumnVisibilityActions
    Releases actions and clears list of actions.
  • createColumnControlPopup
    Factory method to return a ColumnControlPopup. Subclasses can override to hook custom implementation
  • createColumnModelListener
    Creates the listener to columnModel. Subclasses are free to roll their own. Implementation note: th
  • createColumnControlPopup,
  • createColumnModelListener,
  • createColumnVisibilityAction,
  • createControlAction,
  • createTablePropertyChangeListener,
  • getAction,
  • getColumnControlActionKeys,
  • getColumnControlPopup,
  • getColumnModelListener

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (Timer)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now