Package net.helipilot50.stocktrade.framework

Examples of net.helipilot50.stocktrade.framework.DecimalData


        public void postAfterFocusGain() {
            EventManager.startEventChain();
            int reason = ForteKeyboardFocusManager.getTraversalReason();
            if (reason != Constants.FC_SUPRESS) {
                Hashtable<String, Object> params = createParams();
                params.put("reason", new ParameterHolder(reason));
                ClientEventManager.postEvent( FillInField.this, "AfterFocusGain", params );
            }
            EventManager.endEventChain();
        }
View Full Code Here


            FocusHelper.addSetFocusPurgeAction(FillInField.this);
//                FocusHelper.addPurgeAction(new RollbackAction());
            Hashtable<String, Object> params = createParams();
            int reason = ForteKeyboardFocusManager.getTraversalReason();
            if (reason != Constants.FC_SUPRESS) {
                params.put("reason", new ParameterHolder(reason));
                ClientEventManager.postEvent( FillInField.this, "BeforeFocusLoss", params );
            }
            EventManager.endEventChain();
        }
View Full Code Here

            Hashtable<String, Object> params = new Hashtable<String, Object>();
            JTable table = ArrayFieldCellHelper.getArrayField(FillInField.this);
            if (table != null){
                // params.put( "row", new ParameterHolder(TableRow) );
                // params.put( "column", new ParameterHolder(TableColumn) );
                params.put( "ArrayField", new ParameterHolder(table) );
            }
            return params;
        }
View Full Code Here

    }
    public TextData getTitle() {
        Object o = this.getHeaderValue();
        if (o instanceof String) {
          this.title = new TextData((String) o);
        } else {
          this.title = (TextData) o;
        }
        return this.title;
    }
View Full Code Here

        return 0;
    }
    public TextData getSQLState(){
        Throwable t = this.getCause();
        if ((t != null) && (t instanceof SQLException)) {
            return new TextData(((SQLException)t).getSQLState());
        }
        return new TextData();

    }
View Full Code Here

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

        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

TOP

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

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.