All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.lessvoid.nifty.examples.table.TableRow Maven / Gradle / Ivy

Go to download

Lots of Nifty example code! You can find the source for nearly all demos/tutorials in here.

There is a newer version: 1.4.3
Show newest version
package de.lessvoid.nifty.examples.table;

import javax.annotation.Nonnull;

/**
 * The "model" class. This should really be your own class.
 */
class TableRow {
  public final int index;
  @Nonnull
  public final String[] data = new String[5];

  public TableRow(final int index, @Nonnull final String... param) {
    this.index = index;
    System.arraycopy(param, 0, data, 0, param.length);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy