Examples of StringData


Examples of org.araneaframework.uilib.form.data.StringData

    testForm.addElement("myDateTime", "my date and time", new DateTimeControl(), new DateData(), false);
    testForm.addElement("myButton", "my button", new ButtonControl(), null, false);

    //Adding a composite element
    FormWidget hierarchyTest = testForm.addSubForm("hierarchyTest");
    hierarchyTest.addElement("myTextarea", "my text area", new TextareaControl(), new StringData(), true);

    //Filling in select control (which is under a composite element)
    FormElement mySelectElement = hierarchyTest.addElement("mySelect", "my drop down", new SelectControl(), new LongData(), true);
    SelectControl mySelect = (SelectControl) mySelectElement.getControl();
    mySelect.addItem(new DisplayItem("1", "one"));
View Full Code Here

Examples of org.lilystudio.ordinary.web.cache.je.data.StringData

    for (int i = key.size() - 1; i >= 0; i--) {
      Key key = this.key.get(i);
      String name = key.getName();
      String value = key.getValue();
      if (value != null) {
        data[i] = new StringData(name, value);
      } else {
        Object o = relay.get(name);
        if (o == null) {
          data[i] = new NullData(name);
        } else {
          Class<?> c = o.getClass();
          if (c == Boolean.class) {
            data[i] = new BooleanData(name, (Boolean) o);
          } else if (c == Integer.class) {
            data[i] = new IntData(name, (Integer) o);
          } else if (c == Long.class) {
            data[i] = new LongData(name, (Long) o);
          } else if (c == String.class) {
            data[i] = new StringData(name, (String) o);
          } else {
            // HARDCODE
            throw new DataTypeException("Only boolean, integer, long and string are allowed for keyword");
          }
        }
View Full Code Here

Examples of uk.org.ogsadai.data.StringData

     *            output to connect to.
     */
    public void addNominalValuesInputConnection(
            final String column, final SingleActivityOutput output)
    {
        addNominalValuesInputConnection(new StringData(column), output);
    }
View Full Code Here

Examples of uk.org.ogsadai.data.StringData

     * @param classIndex
     *            index of the class column
     */
    public void setOptions(final String options)
    {
       mOptionsInput.add(new StringData(options));
    }
View Full Code Here

Examples of uk.org.ogsadai.data.StringData

     * @param values
     *            nominal values
     */
    public void addNominalValues(String name, String... values)
    {
        addNominalValues(new StringData(name), values);
    }
View Full Code Here

Examples of uk.org.ogsadai.data.StringData

    {
        mColumnIndicesInput.add(column);
        mNominalValuesInput.add(mCurrentIndex, ListBegin.VALUE);
        for (String value : values)
        {
            mNominalValuesInput.add(mCurrentIndex, new StringData(value));
        }
        mNominalValuesInput.add(mCurrentIndex, ListEnd.VALUE);
        if (mCurrentIndex >= mNominalValuesInput.getNumberOfInputs())
        {
            mColumnIndicesInput.add(ListEnd.VALUE);
View Full Code Here

Examples of uk.org.ogsadai.data.StringData

     * @param options
     *            String representing command line WEKA options
     */
    public void addWekaOptions(final String options)
    {   
      mOptionsInput.add(new StringData(options));       
    }
View Full Code Here

Examples of uk.org.ogsadai.data.StringData

     * @param values
     *            nominal values
     */
    public void addNominalValues(String name, String... values)
    {
        addNominalValues(new StringData(name), values);
    }
View Full Code Here

Examples of uk.org.ogsadai.data.StringData

    {
        mColumnIndicesInput.add(column);
        mNominalValuesInput.add(mCurrentIndex, ListBegin.VALUE);
        for (String value : values)
        {
            mNominalValuesInput.add(mCurrentIndex, new StringData(value));
        }
        mNominalValuesInput.add(mCurrentIndex, ListEnd.VALUE);
        if (mCurrentIndex >= mNominalValuesInput.getNumberOfInputs())
        {
            mColumnIndicesInput.add(ListEnd.VALUE);
View Full Code Here

Examples of uk.org.ogsadai.data.StringData

     */
    public RDFUpdate(String PEData)
    {
        super(DEFAULT_ACTIVITY_NAME);
        mPEdata = new SimpleActivityInput("PEData");
        mPEdata.add(new StringData(PEData));
        mOutput = new SimpleActivityOutput("output");
        this.setResourceID("RDFResource");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.