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

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

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

origin: sing-group/GC4S

  public void update() {
    super.populatePopup();
  }
}
origin: com.haulmont.thirdparty/swingx-core

/** Tells listeners that a column was removed from the model. */
@Override
public void columnRemoved(TableColumnModelEvent e) {
  if (!isVisibilityChange(e, false)) {
    populatePopup();
  }
}
origin: org.bidib.jbidib.swinglabs.swingx/swingx-core

/** Tells listeners that a column was added to the model. */
@Override
public void columnAdded(TableColumnModelEvent e) {
  // quickfix for #192
  if (!isVisibilityChange(e, true)) {
    populatePopup();
  }
}
origin: org.swinglabs.swingx/swingx-core

/** Tells listeners that a column was removed from the model. */
@Override
public void columnRemoved(TableColumnModelEvent e) {
  if (!isVisibilityChange(e, false)) {
    populatePopup();
  }
}
origin: org.swinglabs.swingx/swingx-all

/** Tells listeners that a column was added to the model. */
@Override
public void columnAdded(TableColumnModelEvent e) {
  // quickfix for #192
  if (!isVisibilityChange(e, true)) {
    populatePopup();
  }
}
origin: org.codehaus.jtstand/jtstand-desktop

/** Tells listeners that a column was added to the model. */
public void columnAdded(TableColumnModelEvent e) {
  // quickfix for #192
  if (!isVisibilityChange(e, true)) {
    populatePopup();
  }
}
origin: org.swinglabs.swingx/swingx-all

/** Tells listeners that a column was removed from the model. */
@Override
public void columnRemoved(TableColumnModelEvent e) {
  if (!isVisibilityChange(e, false)) {
    populatePopup();
  }
}
origin: org.codehaus.jtstand/jtstand-desktop

/** Tells listeners that a column was removed from the model. */
public void columnRemoved(TableColumnModelEvent e) {
  if (!isVisibilityChange(e, false)) {
    populatePopup();
  }
}
origin: org.swinglabs.swingx/swingx-core

/** Tells listeners that a column was added to the model. */
@Override
public void columnAdded(TableColumnModelEvent e) {
  // quickfix for #192
  if (!isVisibilityChange(e, true)) {
    populatePopup();
  }
}
origin: org.bidib.jbidib.swinglabs.swingx/swingx-core

/** Tells listeners that a column was removed from the model. */
@Override
public void columnRemoved(TableColumnModelEvent e) {
  if (!isVisibilityChange(e, false)) {
    populatePopup();
  }
}
origin: org.zaproxy/zap

@Override
public void populatePopup() {
  super.populatePopup();
  if (customActions != null && popup instanceof DefaultColumnControlPopup) {
    ((DefaultColumnControlPopup) popup).addAdditionalActionItems(customActions);
  }
}
origin: com.haulmont.thirdparty/swingx-core

/** Tells listeners that a column was added to the model. */
@Override
public void columnAdded(TableColumnModelEvent e) {
  // quickfix for #192
  if (!isVisibilityChange(e, true)) {
    populatePopup();
  }
}
origin: org.swinglabs.swingx/swingx-core

/**
 * 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.
 * 
 * @param grouper
 */
public void setActionGrouper(ActionGrouper grouper) {
  if (!(getColumnControlPopup() instanceof ActionGroupable)) return;
  ((ActionGroupable) getColumnControlPopup()).setActionGrouper(grouper);
  populatePopup();
}
 
origin: org.bidib.jbidib.swinglabs.swingx/swingx-core

/**
 * 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.
 * 
 * @param grouper
 */
public void setActionGrouper(ActionGrouper grouper) {
  if (!(getColumnControlPopup() instanceof ActionGroupable)) return;
  ((ActionGroupable) getColumnControlPopup()).setActionGrouper(grouper);
  populatePopup();
}
 
origin: org.swinglabs.swingx/swingx-all

/**
 * 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.
 * 
 * @param grouper
 */
public void setActionGrouper(ActionGrouper grouper) {
  if (!(getColumnControlPopup() instanceof ActionGroupable)) return;
  ((ActionGroupable) getColumnControlPopup()).setActionGrouper(grouper);
  populatePopup();
}
 
origin: com.haulmont.thirdparty/swingx-core

/**
 * 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.
 * 
 * @param grouper
 */
public void setActionGrouper(ActionGrouper grouper) {
  if (!(getColumnControlPopup() instanceof ActionGroupable)) return;
  ((ActionGroupable) getColumnControlPopup()).setActionGrouper(grouper);
  populatePopup();
}
 
origin: com.haulmont.thirdparty/swingx-core

/**
 * Sets the additonalActionsVisible property. It controls whether or
 * not additional table actions should be included into the popup. <p>
 * 
 * The default value is <code>true</code>.
 * 
 * @param additionalActionsVisible the additionalActionsVisible to set
 */
public void setAdditionalActionsVisible(boolean additionalActionsVisible) {
  if (additionalActionsVisible == getAdditionalActionsVisible()) return;
  boolean old = getAdditionalActionsVisible();
  this.additionalActionsVisible = additionalActionsVisible;
  populatePopup();
  firePropertyChange("additionalActionsVisible", old, getAdditionalActionsVisible());
}
origin: org.swinglabs.swingx/swingx-core

/**
 * Sets the additonalActionsVisible property. It controls whether or
 * not additional table actions should be included into the popup. <p>
 * 
 * The default value is <code>true</code>.
 * 
 * @param additionalActionsVisible the additionalActionsVisible to set
 */
public void setAdditionalActionsVisible(boolean additionalActionsVisible) {
  if (additionalActionsVisible == getAdditionalActionsVisible()) return;
  boolean old = getAdditionalActionsVisible();
  this.additionalActionsVisible = additionalActionsVisible;
  populatePopup();
  firePropertyChange("additionalActionsVisible", old, getAdditionalActionsVisible());
}
origin: org.swinglabs.swingx/swingx-all

/**
 * Sets the additonalActionsVisible property. It controls whether or
 * not additional table actions should be included into the popup. <p>
 * 
 * The default value is <code>true</code>.
 * 
 * @param additionalActionsVisible the additionalActionsVisible to set
 */
public void setAdditionalActionsVisible(boolean additionalActionsVisible) {
  if (additionalActionsVisible == getAdditionalActionsVisible()) return;
  boolean old = getAdditionalActionsVisible();
  this.additionalActionsVisible = additionalActionsVisible;
  populatePopup();
  firePropertyChange("additionalActionsVisible", old, getAdditionalActionsVisible());
}
origin: org.bidib.jbidib.swinglabs.swingx/swingx-core

/**
 * Sets the additonalActionsVisible property. It controls whether or
 * not additional table actions should be included into the popup. <p>
 * 
 * The default value is <code>true</code>.
 * 
 * @param additionalActionsVisible the additionalActionsVisible to set
 */
public void setAdditionalActionsVisible(boolean additionalActionsVisible) {
  if (additionalActionsVisible == getAdditionalActionsVisible()) return;
  boolean old = getAdditionalActionsVisible();
  this.additionalActionsVisible = additionalActionsVisible;
  populatePopup();
  firePropertyChange("additionalActionsVisible", old, getAdditionalActionsVisible());
}
org.jdesktop.swingx.tableColumnControlButtonpopulatePopup

Javadoc

Populates the popup from scratch. If applicable, creates and adds column visibility actions. Always adds additional actions.

Popular methods of ColumnControlButton

  • <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
  • 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
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Notification (javax.management)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Github Copilot alternatives
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