LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.win.swing.table
Class LyJTableColumn

java.lang.Object
  extended by javax.swing.table.TableColumn
      extended by leon.view.win.swing.table.LyJTableColumn
All Implemented Interfaces:
java.io.Serializable

public class LyJTableColumn
extends javax.swing.table.TableColumn

This class implements the properties of a table column. It has been created to access the footer value of a column.

See Also:
Serialized Form

Field Summary
static java.lang.String __VERSION
           
 
Fields inherited from class javax.swing.table.TableColumn
CELL_RENDERER_PROPERTY, COLUMN_WIDTH_PROPERTY, HEADER_RENDERER_PROPERTY, HEADER_VALUE_PROPERTY
 
Constructor Summary
LyJTableColumn()
          Default constructor.
LyJTableColumn(int modelIndex)
          Creates a table column object with the specified column model.
LyJTableColumn(int modelIndex, int width)
          Creates a table column object with the specified attributes.
LyJTableColumn(int modelIndex, int width, javax.swing.table.TableCellRenderer cellRenderer, javax.swing.table.TableCellEditor cellEditor)
          Creates a table column object with the specified attributes.
 
Method Summary
 int getFooterAlign()
          Gets the alignment of this footer.
 java.lang.Object getFooterValue()
          Gets the value of the footer.
 java.lang.String getTooltip()
          Gets value of tooltip.
 void setFooterAlign(int align)
          Sets the alignment of the column's footer.
 void setFooterValue(java.lang.Object value)
          Sets the value of the column's footer.
 void setTooltip(java.lang.String tooltip)
          Sets attribute tooltip to the given value.
 
Methods inherited from class javax.swing.table.TableColumn
addPropertyChangeListener, disableResizedPosting, enableResizedPosting, getCellEditor, getCellRenderer, getHeaderRenderer, getHeaderValue, 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyJTableColumn

public LyJTableColumn()
Default constructor.


LyJTableColumn

public LyJTableColumn(int modelIndex)
Creates a table column object with the specified column model.

Parameters:
modelIndex - the index of this column in the columnModel

LyJTableColumn

public LyJTableColumn(int modelIndex,
                      int width)
Creates a table column object with the specified attributes.

Parameters:
modelIndex - the index of this column in the columnModel
width - the initial width of this column

LyJTableColumn

public LyJTableColumn(int modelIndex,
                      int width,
                      javax.swing.table.TableCellRenderer cellRenderer,
                      javax.swing.table.TableCellEditor cellEditor)
Creates a table column object with the specified attributes.

Parameters:
modelIndex - the index of this column in the columnModel
width - the initial width of this column
cellRenderer - the component factory used to render a cell
cellEditor - the component factory used to render an editing cell
Method Detail

getFooterValue

public java.lang.Object getFooterValue()
Gets the value of the footer.

Returns:
the value of the column's footer
See Also:
setFooterValue(Object)

getFooterAlign

public int getFooterAlign()
Gets the alignment of this footer.

Returns:
the alignment policy of the column's footer
See Also:
setFooterAlign(int)

setFooterValue

public void setFooterValue(java.lang.Object value)
Sets the value of the column's footer.

Parameters:
value - the new value of this footer
See Also:
getFooterValue()

setFooterAlign

public void setFooterAlign(int align)
Sets the alignment of the column's footer.

Parameters:
align - the new alignment of this footer
See Also:
getFooterAlign()

getTooltip

public java.lang.String getTooltip()
Gets value of tooltip.

Returns:
the value of tooltip
See Also:
setTooltip(String)

setTooltip

public void setTooltip(java.lang.String tooltip)
Sets attribute tooltip to the given value.

Parameters:
tooltip - the new value of tooltip
See Also:
getTooltip()

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com