Tabnine Logo
ObjectTable.getColumnCount
Code IndexAdd Tabnine to your IDE (free)

How to use
getColumnCount
method
in
org.jfree.util.ObjectTable

Best Java code snippets using org.jfree.util.ObjectTable.getColumnCount (Showing top 6 results out of 315)

origin: org.jfree/com.springsource.org.jfree

/**
 * Copys the contents of the old row to the new row. This uses raw access to
 * the data and is remarkably faster than manual copying.
 *
 * @param oldRow the index of the old row
 * @param newRow the index of the new row
 */
protected void copyRow(final int oldRow, final int newRow)
{
 this.ensureCapacity(newRow, getColumnCount());
 final Object[] oldRowStorage = this.data[oldRow];
 if (oldRowStorage == null)
 {
  final Object[] newRowStorage = this.data[newRow];
  if (newRowStorage != null)
  {
   Arrays.fill(newRowStorage, null);
  }
 }
 else
 {
  this.data[newRow] = (Object[]) oldRowStorage.clone();
 }
}
origin: jfree/jcommon

/**
 * Copys the contents of the old row to the new row. This uses raw access to
 * the data and is remarkably faster than manual copying.
 *
 * @param oldRow the index of the old row
 * @param newRow the index of the new row
 */
protected void copyRow(final int oldRow, final int newRow)
{
 this.ensureCapacity(newRow, getColumnCount());
 final Object[] oldRowStorage = this.data[oldRow];
 if (oldRowStorage == null)
 {
  final Object[] newRowStorage = this.data[newRow];
  if (newRowStorage != null)
  {
   Arrays.fill(newRowStorage, null);
  }
 }
 else
 {
  this.data[newRow] = (Object[]) oldRowStorage.clone();
 }
}
origin: org.jfree/jcommon

/**
 * Copys the contents of the old row to the new row. This uses raw access to
 * the data and is remarkably faster than manual copying.
 *
 * @param oldRow the index of the old row
 * @param newRow the index of the new row
 */
protected void copyRow(final int oldRow, final int newRow)
{
 this.ensureCapacity(newRow, getColumnCount());
 final Object[] oldRowStorage = this.data[oldRow];
 if (oldRowStorage == null)
 {
  final Object[] newRowStorage = this.data[newRow];
  if (newRowStorage != null)
  {
   Arrays.fill(newRowStorage, null);
  }
 }
 else
 {
  this.data[newRow] = (Object[]) oldRowStorage.clone();
 }
}
origin: jfree/jcommon

if (getColumnCount() != ot.getColumnCount())
 for (int c = 0; c < getColumnCount(); c++)
origin: org.jfree/com.springsource.org.jfree

if (getColumnCount() != ot.getColumnCount())
 for (int c = 0; c < getColumnCount(); c++)
origin: org.jfree/jcommon

if (getColumnCount() != ot.getColumnCount())
 for (int c = 0; c < getColumnCount(); c++)
org.jfree.utilObjectTablegetColumnCount

Javadoc

Returns the number of columns in the table.

Popular methods of ObjectTable

  • ensureCapacity
    Ensures that there is storage capacity for the specified item.
  • ensureRowCapacity
    Checks that there is storage capacity for the specified row and resizes if necessary.
  • getObject
    Returns the object from a particular cell in the table. Returns null, if there is no object at the g
  • getRowCount
    Returns the number of rows in the table.
  • readSerializedData
    Handles the deserialization of a single element of the table.
  • setObject
    Sets the object for a cell in the table. The table is expanded if necessary.
  • writeSerializedData
    Handles the serialization of an single element of this table.

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • compareTo (BigDecimal)
  • findViewById (Activity)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • JList (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • CodeWhisperer 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