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

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

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

origin: org.bidib.jbidib.swinglabs.swingx/swingx-core

/**
 * Adds additional actions to the popup, if additionalActionsVisible is true,
 * does nothing otherwise.<p>
 * 
 * Here: delegates the list of actions as returned by #getAdditionalActions() 
 *   to the DefaultColumnControlPopup. 
 * Does nothing if #getColumnActions() is empty.
 * 
 */
protected void addAdditionalActionItems() {
  if (!getAdditionalActionsVisible()) return;
  getColumnControlPopup().addAdditionalActionItems(
      Collections.unmodifiableList(getAdditionalActions()));
}
origin: org.codehaus.jtstand/jtstand-desktop

/**
 * Adds additional actions to the popup.
 * Here: delegates the list of actions as returned by #getAdditionalActions() 
 *   to the DefaultColumnControlPopup. 
 * Does nothing if #getColumnActions() is empty.
 * 
 */
protected void addAdditionalActionItems() {
  getColumnControlPopup().addAdditionalActionItems(
      Collections.unmodifiableList(getAdditionalActions()));
}
origin: org.swinglabs.swingx/swingx-all

/**
 * Adds additional actions to the popup, if additionalActionsVisible is true,
 * does nothing otherwise.<p>
 * 
 * Here: delegates the list of actions as returned by #getAdditionalActions() 
 *   to the DefaultColumnControlPopup. 
 * Does nothing if #getColumnActions() is empty.
 * 
 */
protected void addAdditionalActionItems() {
  if (!getAdditionalActionsVisible()) return;
  getColumnControlPopup().addAdditionalActionItems(
      Collections.unmodifiableList(getAdditionalActions()));
}
origin: otros-systems/otroslogviewer

@Override
protected List<Action> getAdditionalActions() {
 final List<Action> additionalActions = super.getAdditionalActions();
 final AbstractAction saveLayout = new AbstractAction("Save current to new column layout", Icons.DISK) {
  @Override
origin: com.haulmont.thirdparty/swingx-core

/**
 * Adds additional actions to the popup, if additionalActionsVisible is true,
 * does nothing otherwise.<p>
 * 
 * Here: delegates the list of actions as returned by #getAdditionalActions() 
 *   to the DefaultColumnControlPopup. 
 * Does nothing if #getColumnActions() is empty.
 * 
 */
protected void addAdditionalActionItems() {
  if (!getAdditionalActionsVisible()) return;
  getColumnControlPopup().addAdditionalActionItems(
      Collections.unmodifiableList(getAdditionalActions()));
}
origin: org.swinglabs.swingx/swingx-core

/**
 * Adds additional actions to the popup, if additionalActionsVisible is true,
 * does nothing otherwise.<p>
 * 
 * Here: delegates the list of actions as returned by #getAdditionalActions() 
 *   to the DefaultColumnControlPopup. 
 * Does nothing if #getColumnActions() is empty.
 * 
 */
protected void addAdditionalActionItems() {
  if (!getAdditionalActionsVisible()) return;
  getColumnControlPopup().addAdditionalActionItems(
      Collections.unmodifiableList(getAdditionalActions()));
}
org.jdesktop.swingx.tableColumnControlButtongetAdditionalActions

Javadoc

creates and returns a list of additional Actions to add to the popup. Here: the actions are looked up in the table's actionMap according to the keys as returned from #getColumnControlActionKeys();

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
  • 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
  • createColumnVisibilityAction
    Creates and returns a ColumnVisibilityAction for the givenTableColumn. The return value might be nul
  • createColumnModelListener,
  • createColumnVisibilityAction,
  • createControlAction,
  • createTablePropertyChangeListener,
  • getAction,
  • getColumnControlActionKeys,
  • getColumnControlPopup,
  • getColumnModelListener,
  • getColumnVisibilityActions

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • findViewById (Activity)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • ImageIO (javax.imageio)
  • Top plugins for Android Studio
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