Tabnine Logo
KTable.getDisplay
Code IndexAdd Tabnine to your IDE (free)

How to use
getDisplay
method
in
de.kupzog.ktable.KTable

Best Java code snippets using de.kupzog.ktable.KTable.getDisplay (Showing top 5 results out of 315)

origin: net.java.dev.glazedlists/glazedlists_java16

/**
 * Create a new {@link EventKTableModel} that uses elements from the
 * specified {@link EventList} as rows, and the specified {@link TableFormat}
 * to divide row objects across columns.
 *
 * @param table the KTable the model is created for
 * @param source the {@link EventList}
 * @param tableFormat provides logic to divide row objects across columns.
 *      If the value implements the {@link KTableFormat} interface, those
 *      methods will be used to provide further details such as cell renderers,
 *      cell editors and row heights.
 */
public EventKTableModel(KTable table, EventList source, TableFormat tableFormat) {
  super(table, createProxyList(source, table.getDisplay()), tableFormat);
  disposeSource = (this.source != source);
}
origin: net.java.dev.glazedlists/glazedlists_java15

/**
 * Create a new {@link EventKTableModel} that uses elements from the
 * specified {@link EventList} as rows, and the specified {@link TableFormat}
 * to divide row objects across columns.
 *
 * @param table the KTable the model is created for
 * @param source the {@link EventList}
 * @param tableFormat provides logic to divide row objects across columns.
 *      If the value implements the {@link KTableFormat} interface, those
 *      methods will be used to provide further details such as cell renderers,
 *      cell editors and row heights.
 */
public EventKTableModel(KTable table, EventList source, TableFormat tableFormat) {
  super(table, createProxyList(source, table.getDisplay()), tableFormat);
  disposeSource = (this.source != source);
}
origin: net.java.dev.glazedlists/glazedlists_java15

  /**
   * Create a new {@link DefaultEventKTableModel} that uses elements from the
   * specified {@link EventList} as rows, and the specified {@link TableFormat}
   * to divide row objects across columns.
   *
   * <p>The returned model is <strong>not thread-safe</strong>. Unless otherwise
   * noted, all methods are only safe to be called from the SWT event handler thread.
   * </p>
   *
   * @param table the KTable the model is created for
   * @param source the {@link EventList}
   * @param tableFormat provides logic to divide row objects across columns.
   *      If the value implements the {@link KTableFormat} interface, those
   *      methods will be used to provide further details such as cell renderers,
   *      cell editors and row heights.
   */
  public static DefaultEventKTableModel eventKTableModelWithThreadProxyList(KTable table, EventList source, TableFormat tableFormat) {
    final EventList proxySource = GlazedListsSWT.createSwtThreadProxyListWithLock(source, table.getDisplay());
    return new DefaultEventKTableModel(table, proxySource, tableFormat, true);
  }
}
origin: net.java.dev.glazedlists/glazedlists_java16

  /**
   * Create a new {@link DefaultEventKTableModel} that uses elements from the
   * specified {@link EventList} as rows, and the specified {@link TableFormat}
   * to divide row objects across columns.
   *
   * <p>The returned model is <strong>not thread-safe</strong>. Unless otherwise
   * noted, all methods are only safe to be called from the SWT event handler thread.
   * </p>
   *
   * @param table the KTable the model is created for
   * @param source the {@link EventList}
   * @param tableFormat provides logic to divide row objects across columns.
   *      If the value implements the {@link KTableFormat} interface, those
   *      methods will be used to provide further details such as cell renderers,
   *      cell editors and row heights.
   */
  public static DefaultEventKTableModel eventKTableModelWithThreadProxyList(KTable table, EventList source, TableFormat tableFormat) {
    final EventList proxySource = GlazedListsSWT.createSwtThreadProxyListWithLock(source, table.getDisplay());
    return new DefaultEventKTableModel(table, proxySource, tableFormat, true);
  }
}
origin: com.haulmont.thirdparty/glazedlists

/**
 * Create a new {@link EventKTableModel} that uses elements from the
 * specified {@link EventList} as rows, and the specified {@link TableFormat}
 * to divide row objects across columns.
 *
 * @param tableFormat provides logic to divide row objects across columns.
 *      If the value implements the {@link KTableFormat} interface, those
 *      methods will be used to provide further details such as cell renderers,
 *      cell editors and row heights.
 */
public EventKTableModel(KTable table, EventList source, TableFormat tableFormat) {
  this.table = table;
  this.swtThreadSource = GlazedListsSWT.swtThreadProxyList(source, table.getDisplay());
  // this TableFormat supports KTable directly
  if(tableFormat instanceof KTableFormat) {
    this.kTableFormat = (KTableFormat)tableFormat;
  // adapt a regular TableFormat for use with KTable
  } else {
    this.kTableFormat = new TableFormatKTableFormat(tableFormat);
  }
  // listen for events on the SWT display thread
  swtThreadSource.addListEventListener(this);
}
de.kupzog.ktableKTablegetDisplay

Popular methods of KTable

  • <init>
  • redraw
  • setModel

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • putExtra (Intent)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 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