org.xnap.gui.table
Class Column

java.lang.Object
  extended by javax.swing.table.TableColumn
      extended by org.xnap.gui.table.Column
All Implemented Interfaces:
java.io.Serializable

public class Column
extends javax.swing.table.TableColumn

See Also:
Serialized Form

Field Summary
protected  java.lang.Class dataType
           
protected  java.lang.String name
           
protected  boolean visible
           
 
Fields inherited from class javax.swing.table.TableColumn
CELL_RENDERER_PROPERTY, cellEditor, cellRenderer, COLUMN_WIDTH_PROPERTY, HEADER_RENDERER_PROPERTY, HEADER_VALUE_PROPERTY, headerRenderer, headerValue, identifier, isResizable, maxWidth, minWidth, modelIndex, resizedPostingDisableCount, width
 
Constructor Summary
Column(java.lang.String name, java.lang.Class dataType)
           
Column(java.lang.String name, java.lang.Class dataType, javax.swing.table.TableCellRenderer r)
           
Column(java.lang.String key, java.lang.String name, java.lang.Class dataType)
           
Column(java.lang.String key, java.lang.String name, java.lang.Class dataType, javax.swing.table.TableCellRenderer r)
           
 
Method Summary
 java.lang.Class getDataType()
           
 java.lang.Object getHeaderValue()
           
 java.lang.String getKey()
          Returns the key.
 java.lang.String getName()
           
 boolean isVisible()
           
 void setVisible(boolean newValue)
           
 java.lang.String toString()
           
 
Methods inherited from class javax.swing.table.TableColumn
addPropertyChangeListener, createDefaultHeaderRenderer, disableResizedPosting, enableResizedPosting, getCellEditor, getCellRenderer, getHeaderRenderer, getIdentifier, getMaxWidth, getMinWidth, getModelIndex, getPreferredWidth, getPropertyChangeListeners, getResizable, getWidth, removePropertyChangeListener, setCellEditor, setCellRenderer, setHeaderRenderer, setHeaderValue, setIdentifier, setMaxWidth, setMinWidth, setModelIndex, setPreferredWidth, setResizable, setWidth, sizeWidthToFit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dataType

protected java.lang.Class dataType

name

protected java.lang.String name

visible

protected boolean visible
Constructor Detail

Column

public Column(java.lang.String key,
              java.lang.String name,
              java.lang.Class dataType,
              javax.swing.table.TableCellRenderer r)

Column

public Column(java.lang.String name,
              java.lang.Class dataType,
              javax.swing.table.TableCellRenderer r)

Column

public Column(java.lang.String key,
              java.lang.String name,
              java.lang.Class dataType)

Column

public Column(java.lang.String name,
              java.lang.Class dataType)
Method Detail

getKey

public java.lang.String getKey()
Returns the key. Used to store the "is visible" preference.


getDataType

public java.lang.Class getDataType()

getHeaderValue

public java.lang.Object getHeaderValue()
Overrides:
getHeaderValue in class javax.swing.table.TableColumn

getName

public java.lang.String getName()

isVisible

public boolean isVisible()

setVisible

public void setVisible(boolean newValue)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2005 XNap Team. All Rights Reserved.