Class JKTableColumn

java.lang.Object
com.jk.core.model.table.JKTableColumn

public class JKTableColumn extends Object
The Class JKTableColumn.
  • Constructor Details

    • JKTableColumn

      public JKTableColumn()
  • Method Details

    • getColumnClass

      public Class getColumnClass()
      Gets the column class.
      Returns:
      the column class
    • getColumnClassName

      public String getColumnClassName()
      Gets the column class name.
      Returns:
      the column class name
    • getColumnType

      public int getColumnType()
      Gets the column type.
      Returns:
      the column type
    • getColumnTypeName

      public String getColumnTypeName()
      Gets the column type name.
      Returns:
      the column type name
    • getEditor

      public TableCellEditor getEditor()
      Gets the editor.
      Returns:
      the editor
    • getFormatter

      public Format getFormatter()
      Gets the formatter.
      Returns:
      the formatter
    • getHumanName

      public String getHumanName()
      Gets the human name.
      Returns:
      the human name
    • getIndex

      public int getIndex()
      Gets the index.
      Returns:
      the index
    • getMaxLength

      public int getMaxLength()
      Gets the max length.
      Returns:
      the max length
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • getPreferredWidth

      public int getPreferredWidth()
      Gets the preferred width.
      Returns:
      the preferred width
    • getRenderer

      public TableCellRenderer getRenderer()
      Gets the renderer.
      Returns:
      the renderer
    • getVisibleIndex

      public int getVisibleIndex()
      Gets the visible index.
      Returns:
      the visible index
    • isEditable

      public boolean isEditable()
      Checks if is editable.
      Returns:
      true, if is editable
    • isNumeric

      public boolean isNumeric()
      Checks if is numeric.
      Returns:
      true, if is numeric
    • isRequired

      public boolean isRequired()
      Checks if is required.
      Returns:
      true, if is required
    • isVisible

      public boolean isVisible()
      Checks if is visible.
      Returns:
      true, if is visible
    • setColumnClass

      public void setColumnClass(Class columnClass)
      Sets the column class.
      Parameters:
      columnClass - the new column class
    • setColumnClassName

      public void setColumnClassName(String columnClassName) throws ClassNotFoundException
      Sets the column class name.
      Parameters:
      columnClassName - the new column class name
      Throws:
      ClassNotFoundException - the class not found exception
    • setColumnType

      public void setColumnType(int columnType)
      Sets the column type.
      Parameters:
      columnType - the new column type
    • setColumnTypeName

      public void setColumnTypeName(String columnTypeName)
      Sets the column type name.
      Parameters:
      columnTypeName - the new column type name
    • setDefaultValue

      public void setDefaultValue(Object defaultValue)
      Sets the default value.
      Parameters:
      defaultValue - the new default value
    • setEditable

      public void setEditable(boolean editable)
      Sets the editable.
      Parameters:
      editable - the new editable
    • setEditor

      public void setEditor(TableCellEditor cellEditor)
      Sets the editor.
      Parameters:
      cellEditor - the new editor
    • setFormatter

      public void setFormatter(Format formatter)
      Sets the formatter.
      Parameters:
      formatter - the new formatter
    • setHumanName

      public void setHumanName(String humanName)
      Sets the human name.
      Parameters:
      humanName - the new human name
    • setIndex

      public void setIndex(int index)
      Sets the index.
      Parameters:
      index - the new index
    • setMaxLength

      public void setMaxLength(int maxLength)
      Sets the max length.
      Parameters:
      maxLength - the new max length
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the new name
    • setPreferredWidth

      public void setPreferredWidth(int preferredWidth)
      Sets the preferred width.
      Parameters:
      preferredWidth - the new preferred width
    • setRenderer

      public void setRenderer(TableCellRenderer cellRenderer)
      Sets the renderer.
      Parameters:
      cellRenderer - the new renderer
    • setRequired

      public void setRequired(boolean required)
      Sets the required.
      Parameters:
      required - the new required
    • setVisible

      public void setVisible(boolean visible)
      Sets the visible.
      Parameters:
      visible - the new visible
    • setVisibleIndex

      public void setVisibleIndex(int visibleIndex)
      Sets the visible index.
      Parameters:
      visibleIndex - the new visible index
    • setAliasName

      public void setAliasName(String name)
      Sets the alias name.
      Parameters:
      name - the new alias name
    • getAliasName

      public String getAliasName()
      Gets the alias name.
      Returns:
      the alias name