qflib 0.98.1

de.qfs.lib.option
Class TableOptionEdit.Column

java.lang.Object
  |
  +--de.qfs.lib.option.TableOptionEdit.Column
Enclosing class:
TableOptionEdit

protected class TableOptionEdit.Column
extends java.lang.Object

Structure that holds column data.


Field Summary
 java.lang.Class clazz
          The class of the column's values.
 java.lang.Object dflt
          Default value for a new cell.
 boolean directedit
          Whether the column should start editing on any keypress.
 boolean disabled
          Whether the column is disabled - i.e. not editable.
 java.lang.String id
          The identifier for the column.
 java.lang.String name
          The name to display.
 Option option
          An option for the column's value.
 
Constructor Summary
TableOptionEdit.Column(java.lang.String id)
          Crate a new column.
 
Method Summary
 java.lang.String toString()
          Get a string representation of the Column.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public java.lang.String id
The identifier for the column.

name

public java.lang.String name
The name to display.

clazz

public java.lang.Class clazz
The class of the column's values.

dflt

public java.lang.Object dflt
Default value for a new cell.

option

public Option option
An option for the column's value.

disabled

public boolean disabled
Whether the column is disabled - i.e. not editable.

directedit

public boolean directedit
Whether the column should start editing on any keypress.
Constructor Detail

TableOptionEdit.Column

public TableOptionEdit.Column(java.lang.String id)
Crate a new column.
Parameters:
id - The column identifier.
Method Detail

toString

public java.lang.String toString()
Get a string representation of the Column.
Overrides:
toString in class java.lang.Object
Returns:
The string for the column.

qflib 0.98.1