congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ColumnControlButton.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jdesktop.swingx.table.ColumnControlButton
constructor

Best Java code snippets using org.jdesktop.swingx.table.ColumnControlButton.<init> (Showing top 8 results out of 315)

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

/**
 * Creates the default column control used by this table. This
 * implementation returns a <code>ColumnControlButton</code> configured with
 * default <code>ColumnControlIcon</code>.
 * 
 * @return the default component used as column control.
 * @see #setColumnControl(JComponent)
 * @see org.jdesktop.swingx.table.ColumnControlButton
 * @see org.jdesktop.swingx.icon.ColumnControlIcon
 */
protected JComponent createDefaultColumnControl() {
  return new ColumnControlButton(this);
}
origin: org.codehaus.jtstand/jtstand-desktop

/**
 * Creates the default column control used by this table. This
 * implementation returns a <code>ColumnControlButton</code> configured with
 * default <code>ColumnControlIcon</code>.
 * 
 * @return the default component used as column control.
 * @see #setColumnControl(JComponent)
 * @see org.jdesktop.swingx.table.ColumnControlButton
 * @see org.jdesktop.swingx.icon.ColumnControlIcon
 */
protected JComponent createDefaultColumnControl() {
  return new ColumnControlButton(this);
}
origin: org.swinglabs.swingx/swingx-all

/**
 * Creates the default column control used by this table. This
 * implementation returns a <code>ColumnControlButton</code> configured with
 * default <code>ColumnControlIcon</code>.
 * 
 * @return the default component used as column control.
 * @see #setColumnControl(JComponent)
 * @see org.jdesktop.swingx.table.ColumnControlButton
 * @see org.jdesktop.swingx.icon.ColumnControlIcon
 */
protected JComponent createDefaultColumnControl() {
  return new ColumnControlButton(this);
}
origin: com.haulmont.thirdparty/swingx-core

/**
 * Creates the default column control used by this table. This
 * implementation returns a <code>ColumnControlButton</code> configured with
 * default <code>ColumnControlIcon</code>.
 * 
 * @return the default component used as column control.
 * @see #setColumnControl(JComponent)
 * @see org.jdesktop.swingx.table.ColumnControlButton
 * @see org.jdesktop.swingx.icon.ColumnControlIcon
 */
protected JComponent createDefaultColumnControl() {
  return new ColumnControlButton(this);
}
origin: org.swinglabs.swingx/swingx-core

/**
 * Creates the default column control used by this table. This
 * implementation returns a <code>ColumnControlButton</code> configured with
 * default <code>ColumnControlIcon</code>.
 * 
 * @return the default component used as column control.
 * @see #setColumnControl(JComponent)
 * @see org.jdesktop.swingx.table.ColumnControlButton
 * @see org.jdesktop.swingx.icon.ColumnControlIcon
 */
protected JComponent createDefaultColumnControl() {
  return new ColumnControlButton(this);
}
origin: stackoverflow.com

 JXTable table = new JXTable(new AncientSwingTeam());
// here the hideable property is configured manually, 
// in production code you'll probably have a custom ColumnFactory
// doing it based on some data state 
table.getColumnExt(0).setHideable(false);
ColumnControlButton columnControl = new ColumnControlButton(table) {

  @Override
  protected ColumnVisibilityAction createColumnVisibilityAction(
      TableColumn column) {
    if (column instanceof TableColumnExt
        && !((TableColumnExt) column).isHideable())
      return null;
    return super.createColumnVisibilityAction(column);
  }

};
table.setColumnControl(columnControl);
table.setColumnControlVisible(true);
origin: stackoverflow.com

ColumnControlButton controlButton = new ColumnControlButton(this)
origin: stackoverflow.com

this.getActionMap().remove("column.packSelected");
ColumnControlButton controlButton = new ColumnControlButton(this){
  @Override
  protected ColumnControlPopup createColumnControlPopup(){
org.jdesktop.swingx.tableColumnControlButton<init>

Javadoc

Creates a column control button for the table. Uses the default icon as provided by the addon.

Popular methods of ColumnControlButton

  • populatePopup
    Populates the popup from scratch. If applicable, creates and adds column visibility actions. Always
  • 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
  • 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

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • putExtra (Intent)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Runner (org.openjdk.jmh.runner)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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