Package net.helipilot50.stocktrade.framework

Examples of net.helipilot50.stocktrade.framework.EventHandle


        tb.setTitle(cap);
    }

    public TextData getCaption() {
        TitledBorder tb = (TitledBorder) getBorder();
        return new TextData(tb.getTitle());
    }
View Full Code Here


            }
        }
    }
    //PM:14/3/08 properties for binding the text value
    public void setText(String value){
      this.setTextValue(new TextData(value));
    }
View Full Code Here

        // AD:20/11/2008: Allow for CachedRowSet to be updated if the DBDataSet has already been populated.
        if (resultSet instanceof CachedRowSet) {
          CachedRowSet cachedRowSet = (CachedRowSet) resultSet;
          try {
            if (pValue instanceof TextData) {
              TextData textValue = (TextData) pValue;
              cachedRowSet.updateString(pColOrdinal, textValue.toString());
            } else if (pValue instanceof IntegerData) {
              IntegerData integerValue = (IntegerData) pValue;
              cachedRowSet.updateInt(pColOrdinal, integerValue.getIntegerValue());
            } else if (pValue instanceof DoubleData) {
              DoubleData doubleValue = (DoubleData) pValue;
View Full Code Here

       
//        int systemCID = getLastCID();

        this.nameInst = new ConfigValueInst();
        this.nameInst.getName().setValue("Name");
        this.nameInst.updateData(new TextData(this.getClass().getSimpleName()));
        this.nameInst.setIsReadOnly(true);
        this.nameInst.setInstrumentID(systemID + 1);
        this.addInstrument(this.nameInst);
        //PM:19/2/08 removed the set name
//        this.setName(this.getClass().getSimpleName());
View Full Code Here

    public TextData getName() {
        return this.name;
    }
    //PM:18/07/2008: AXA
    public void setNameAsString(String pValue) {
        this.setName(new TextData(pValue));
    }
View Full Code Here

     * @return Array_Of_TextData
     */
    public Array_Of_TextData<TextData> listInstruments(){
        Array_Of_TextData<TextData> instruments = new Array_Of_TextData<TextData>();
        for (Instrument tmpInstrument : this.instruments) {
            instruments.add(new TextData(tmpInstrument.getName()));
        }
        return instruments;
    }
View Full Code Here

            this.orientation = or;
            this.firePropertyChange("orientation", oldValue, this.orientation);
            updateSize();
            break;
        default:
            UsageException errorVar = new UsageException("The value " + or + " cannot be set as the orientation on a RadioList");
            ErrorMgr.addError(errorVar);
            throw errorVar;
        }
    }
View Full Code Here

            this.layoutPolicy = pPolicy;
            this.firePropertyChange("layoutPolicy", oldValue, this.layoutPolicy);
            updateSize();
            break;
        default:
            UsageException errorVar = new UsageException("The value " + pPolicy + " cannot be set as the orientation on a RadioList");
            ErrorMgr.addError(errorVar);
            throw errorVar;
        }
    }
View Full Code Here

            CachedRowSet rowSet = new CachedRowSetImpl();
            rowSet.populate(pResults);
              this.resultSet = rowSet;
          }
          catch (SQLException e) {
                UsageException errorVar = new UsageException(e.getMessage(), SP_ER_USER, SP_ER_PARAMETERERROR, e);
                ErrorMgr.addError(errorVar);
                throw errorVar;
          }
        }
        else {
View Full Code Here

        return resultSet.findColumn(pColName);
      } catch (SQLException e) {
        // Ignore the exception because one will be raised below
      }
      }
        UsageException errorVar = new UsageException("Could not find ordinal for " + pColName);
        ErrorMgr.addError(errorVar);
        throw errorVar;
    }
View Full Code Here

TOP

Related Classes of net.helipilot50.stocktrade.framework.EventHandle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.