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

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

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

origin: org.swinglabs.swingx/swingx-core

/**
 * Creates a column control button for the table. The button
 * uses the given icon and has no text.
 * @param table  the <code>JXTable</code> controlled by this component
 * @param icon the <code>Icon</code> to show
 */
public ColumnControlButton(JXTable table, Icon icon) {
  super();
  init();
  // JW: icon LF dependent?
  setAction(createControlAction(icon));
  updateActionUI();
  updateButtonUI();
  installTable(table);
}
origin: com.haulmont.thirdparty/swingx-core

/**
 * Creates a column control button for the table. The button
 * uses the given icon and has no text.
 * @param table  the <code>JXTable</code> controlled by this component
 * @param icon the <code>Icon</code> to show
 */
public ColumnControlButton(JXTable table, Icon icon) {
  super();
  init();
  // JW: icon LF dependent?
  setAction(createControlAction(icon));
  updateActionUI();
  updateButtonUI();
  installTable(table);
}
origin: org.swinglabs.swingx/swingx-all

/**
 * Creates a column control button for the table. The button
 * uses the given icon and has no text.
 * @param table  the <code>JXTable</code> controlled by this component
 * @param icon the <code>Icon</code> to show
 */
public ColumnControlButton(JXTable table, Icon icon) {
  super();
  init();
  // JW: icon LF dependent?
  setAction(createControlAction(icon));
  updateActionUI();
  updateButtonUI();
  installTable(table);
}
origin: org.bidib.jbidib.swinglabs.swingx/swingx-core

/**
 * Creates a column control button for the table. The button
 * uses the given icon and has no text.
 * @param table  the <code>JXTable</code> controlled by this component
 * @param icon the <code>Icon</code> to show
 */
public ColumnControlButton(JXTable table, Icon icon) {
  super();
  init();
  // JW: icon LF dependent?
  setAction(createControlAction(icon));
  updateActionUI();
  updateButtonUI();
  installTable(table);
}
origin: org.codehaus.jtstand/jtstand-desktop

/**
 * Creates a column control button for the table. The button
 * uses the given icon and has no text.
 * @param table  the <code>JXTable</code> controlled by this component
 * @param icon the <code>Icon</code> to show
 */
public ColumnControlButton(JXTable table, Icon icon) {
  super();
  init();
  // JW: icon LF dependent?
  setAction(createControlAction(icon));
  updateActionUI();
  updateButtonUI();
  installTable(table);
}
org.jdesktop.swingx.tableColumnControlButtonsetAction

Javadoc

Sets the grouper to use for grouping the additional actions. Maybe null to have no additional grouping. Has no effect if the ColumnControlPopup doesn't implement Groupable. The default ColumnControlPopup supports Groupable, but is instantiated without a Grouper.

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,
  • getColumnVisibilityActions

Popular in Java

  • Making http post requests using okhttp
  • getContentResolver (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JOptionPane (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top 12 Jupyter Notebook extensions
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