Class IDColumn

java.lang.Object
org.compiere.minigrid.IDColumn
All Implemented Interfaces:
SelectableIDColumn

public class IDColumn extends Object implements SelectableIDColumn
ID Column for IMiniTable, allows to select a column and maintains the record ID
Version:
$Id: IDColumn.java,v 1.2 2006/07/30 00:51:28 jjanke Exp $
Author:
Jorg Janke
  • Constructor Details

    • IDColumn

      public IDColumn(int record_ID)
      ID Column constructor
      Parameters:
      record_ID -
    • IDColumn

      public IDColumn(Integer record_ID)
      ID Column constructor
      Parameters:
      record_ID -
  • Method Details

    • setSelected

      public void setSelected(boolean selected)
      Set Selected
      Specified by:
      setSelected in interface SelectableIDColumn
      Parameters:
      selected -
    • isSelected

      public boolean isSelected()
      Is Selected
      Specified by:
      isSelected in interface SelectableIDColumn
      Returns:
      true if selected
    • setRecord_ID

      public void setRecord_ID(Integer record_ID)
      Set Record_ID
      Parameters:
      record_ID -
    • getRecord_ID

      public Integer getRecord_ID()
      Get Record ID
      Returns:
      ID
    • toString

      public String toString()
      To String
      Overrides:
      toString in class Object
      Returns:
      String representation