public Object createValue() throws BasicException {
   Object[] place = new Object[5];
   place[0] = m_sID;
   place[1] = m_jName.getText();
   place[2] = Formats.INT.parseValue(m_jX.getText());
   place[3] = Formats.INT.parseValue(m_jY.getText());
   place[4] = m_FloorModel.getSelectedKey();
   return place;
 }
  public void updateIndex(int iIndex, int iCounter) {

    if (iIndex >= 0 && iIndex < iCounter) {
      jlblIndex.setText(Formats.INT.formatValue(new Integer(iIndex + 1)));
    } else {
      jlblIndex.setText("-");
    }
    jlblCounter.setText(Formats.INT.formatValue(new Integer(iCounter)));
  }
  public void writeValueDelete(Object value) {

    Object[] place = (Object[]) value;
    m_sID = Formats.STRING.formatValue(place[0]);
    m_jName.setText(Formats.STRING.formatValue(place[1]));
    m_jX.setText(Formats.INT.formatValue(place[2]));
    m_jY.setText(Formats.INT.formatValue(place[3]));
    m_FloorModel.setSelectedKey(place[4]);

    m_jName.setEnabled(false);
    m_jFloor.setEnabled(false);
    m_jX.setEnabled(false);
    m_jY.setEnabled(false);
  }
 public String printId() {
   if (m_iTicketId > 0) {
     // valid ticket id
     return Formats.INT.formatValue(new Integer(m_iTicketId));
   } else {
     return "";
   }
 }
 public String printSales() {
   return Formats.INT.formatValue(m_iSales);
 }
 public String printPayments() {
   return Formats.INT.formatValue(m_iPayments);
 }
 public String printSequence() {
   return Formats.INT.formatValue(m_iSeq);
 }