LumiSoft.UI.Controls.Grid
Class WGridColumn

java.lang.Object
  extended by LumiSoft.UI.Controls.Grid.WGridColumn

public class WGridColumn
extends java.lang.Object

Grid column.


Method Summary
 boolean getAllowEdit()
          Gets if column is editable.
 boolean getAllowResize()
          Gets if column can be resized.
 boolean getAllowSort()
          Gets if column can be sorted.
 java.awt.Rectangle getBounds()
          Gets column bounding rectangle.
 int getCellsTextAlign()
          Gets column cells text horizontal alignment.
 java.lang.String getCellTextFormat()
          Gets column cells text display format.
 java.lang.String getColumnName()
          Gets column name.
 WBaseEditor getEditor()
          Gets column editor.
 java.awt.Font getFont()
          Gets column caption text font.
 java.lang.String getFooterText()
          Gets column footer text.
 int getFooterTextAlign()
          Gets column column footer text horiontal alignment.
 int getFooterType()
          Gets column column footer type.
 int getIndex()
          Gets physical column index.
 java.lang.String getMappingName()
          Gets datasource DataTable mapping column.
 java.lang.Object getTag()
          Gets column tag.
 java.lang.String getText()
          Gets column caption.
 int getTextAlign()
          Gets column text horiontal alignment.
 java.lang.String getTextID()
          Gets column text ID.
 int getWidth()
          Gets column width.
 boolean getVisible()
          Gets if column is visible.
 void setAllowEdit(boolean value)
          Sets if column is editable.
 void setAllowResize(boolean value)
          Sets if column can be resized.
 void setAllowSort(boolean value)
          Sets if column can be sorted.
 void setCellsTextAlign(int value)
          Sets column cells text horizontal alignment.
 void setCellTextFormat(java.lang.String value)
          Sets column cells text display format.
 void setEditor(WBaseEditor value)
          Sets column editor.
 void setFont(java.awt.Font value)
          Sets column caption text font.
 void setFooterText(java.lang.String value)
          Sets column footer text.
 void setFooterTextAlign(int value)
          Sets column column footer text horiontal alignment.
 void setFooterType(int value)
          Sets column column footer type.
 void setIndex(int value)
          Sets physical column index.
 void setMappingName(java.lang.String value)
          Sets datasource DataTable mapping column.
 void setTag(java.lang.Object value)
          Sets colum tag.
 void setText(java.lang.String value)
          Sets column caption.
 void setTextAlign(int value)
          Sets column text horiontal alignment.
 void setTextID(java.lang.String value)
          Sets column text ID.
 void setWidth(int value)
          Sets column width.
 void setVisible(boolean value)
          Sets if column is visible.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getColumnName

public java.lang.String getColumnName()
Gets column name.

Returns:

getText

public java.lang.String getText()
Gets column caption.

Returns:

setText

public void setText(java.lang.String value)
Sets column caption.

Parameters:
value -

getTextID

public java.lang.String getTextID()
Gets column text ID.

Returns:

setTextID

public void setTextID(java.lang.String value)
Sets column text ID.

Parameters:
value -

getTextAlign

public int getTextAlign()
Gets column text horiontal alignment.

Returns:

setTextAlign

public void setTextAlign(int value)
Sets column text horiontal alignment.

Parameters:
value -

getCellsTextAlign

public int getCellsTextAlign()
Gets column cells text horizontal alignment.

Returns:

setCellsTextAlign

public void setCellsTextAlign(int value)
Sets column cells text horizontal alignment.

Parameters:
value -

getCellTextFormat

public java.lang.String getCellTextFormat()
Gets column cells text display format.

Returns:

setCellTextFormat

public void setCellTextFormat(java.lang.String value)
Sets column cells text display format.

Parameters:
value -

getMappingName

public java.lang.String getMappingName()
Gets datasource DataTable mapping column.

Returns:

setMappingName

public void setMappingName(java.lang.String value)
Sets datasource DataTable mapping column.

Parameters:
value -

getFont

public java.awt.Font getFont()
Gets column caption text font.

Returns:

setFont

public void setFont(java.awt.Font value)
Sets column caption text font.

Parameters:
value -

getVisible

public boolean getVisible()
Gets if column is visible.

Returns:

setVisible

public void setVisible(boolean value)
Sets if column is visible.

Parameters:
value -

getAllowEdit

public boolean getAllowEdit()
Gets if column is editable.

Returns:

setAllowEdit

public void setAllowEdit(boolean value)
Sets if column is editable.

Parameters:
value -

getAllowSort

public boolean getAllowSort()
Gets if column can be sorted.

Returns:

setAllowSort

public void setAllowSort(boolean value)
Sets if column can be sorted.

Parameters:
value -

getAllowResize

public boolean getAllowResize()
Gets if column can be resized.

Returns:

setAllowResize

public void setAllowResize(boolean value)
Sets if column can be resized.

Parameters:
value -

getWidth

public int getWidth()
Gets column width.

Returns:

setWidth

public void setWidth(int value)
Sets column width.

Parameters:
value -

getTag

public java.lang.Object getTag()
Gets column tag.

Returns:

setTag

public void setTag(java.lang.Object value)
Sets colum tag.

Parameters:
value -

getBounds

public java.awt.Rectangle getBounds()
Gets column bounding rectangle.

Returns:

getFooterText

public java.lang.String getFooterText()
Gets column footer text.

Returns:

setFooterText

public void setFooterText(java.lang.String value)
Sets column footer text.

Parameters:
value -

getFooterTextAlign

public int getFooterTextAlign()
Gets column column footer text horiontal alignment.

Returns:

setFooterTextAlign

public void setFooterTextAlign(int value)
Sets column column footer text horiontal alignment.

Parameters:
value -

getFooterType

public int getFooterType()
Gets column column footer type.

Returns:

setFooterType

public void setFooterType(int value)
Sets column column footer type.

Parameters:
value -

getEditor

public WBaseEditor getEditor()
Gets column editor.

Returns:

setEditor

public void setEditor(WBaseEditor value)
Sets column editor.

Parameters:
value -

getIndex

public int getIndex()
Gets physical column index. Invisible columns are included.

Returns:

setIndex

public void setIndex(int value)
Sets physical column index. Invisible columns are included.

Parameters:
value -