Examples of InputField


Examples of org.jitterbit.ui.input.InputField

     * Adds the controls for the source file filter to a <code>DataLocationPanelLayout</code>.
     *
     */
    public void layoutSourceFileFilterControls(DataLocationPanelLayout layout) {
        verifySourceOnlyFunctionality();
        InputField field = fileFilterField.asInputFieldForLayout();
        layout.add(field.getLabel(), field.getInputComponent(), createEditFilterOptionsButton());
    }
View Full Code Here

Examples of org.jitterbit.ui.input.InputField

        loginField.installAutoCompletion(history);
    }

    @Override
    public final void addToLayout(DataLocationPanelLayout layout) {
        InputField field = loginField.asInputFieldForLayout();
        layout.add(field.getLabel(), field.getInputComponent(), passwordButton);
    }
View Full Code Here

Examples of org.jitterbit.ui.input.InputField

        cb.getComboBox().setPrototypeValue("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
        return cb;
    }
   
    private void addInputField(InputPanel p) {
        InputField f = documentSelector.getComboBox().asInputField("", "");
        p.addInputField(f);
    }
View Full Code Here

Examples of org.jitterbit.ui.input.InputField

        combo.setSelectedEntity(loc.getTargetIdForResponse());
    }

    @Override
    public void register(InputPanel panel) {
        InputField f = combo.getComboBox().asInputField("", "");
        panel.addInputField(f);
    }
View Full Code Here

Examples of org.jitterbit.ui.input.InputField

    private void installUndoRedo(ScriptPad pad) {
        // XXX: This is a bit clumsy. We should add explicit support for this
        // in the ScriptBuilderUi interface.
        // Also, should this be done in ScriptPadEditorDisplayer instead?
        InputField input = pad.getUi().getExpressionArea().asInputField("");
        input.setSendUndoEvents(true);
        input.addUndoableEditListener(this);
    }
View Full Code Here

Examples of org.jitterbit.ui.input.InputField

     *            combobox.
     */
    public InputField asInputFieldForLayout(String name, String label, boolean decorateLabelWithEntityIcon) {
        JLabel lbl = createComboBoxLabel(label, decorateLabelWithEntityIcon);
        final JComponent c = createDefaultDisplayer();
        return new InputField(name, c, lbl) {

            @Override
            public void makeReadOnly() {
                UiUtils.setEnabledRecursively(c, false);
            }
View Full Code Here

Examples of org.kuali.rice.krad.uif.field.InputField

   * check whether the additional files override the intended beans for krad
   * @see org/martinlaw/rice-overrides/kr.xml
   */
  @Test
  public void testAdditionalFiles_krad() {   
    InputField desc = (InputField) KRADServiceLocatorWeb.getDataDictionaryService().getDictionaryObject(
        "Uif-DocumentDescription");
    // see org.kuali.rice.krad.uif.control.TextControl#setWatermarkText for why the additional space is added
    assertEquals("instructional msg differs", "A brief statement of the action you are taking",
        desc.getInstructionalText());
   
    AttributeDefinition expln = (AttributeDefinition) KRADServiceLocatorWeb.getDataDictionaryService().getDictionaryObject(
        "DocumentHeader-explanation");
    assertNotNull("watermark should not be null", ((TextAreaControl)expln.getControlField()).getWatermarkText());
  }
View Full Code Here

Examples of org.openengsb.ui.common.editor.fields.InputField

        } else if (attribute.isPassword()) {
            return new PasswordField(id, model, attribute, validator);
        } else if (attribute.isOAuth()) {
            return new OAuthField(id, model, attribute, validator);
        } else {
            return new InputField(id, model, attribute, validator, editable);
        }
    }
View Full Code Here

Examples of org.springmodules.xt.ajax.component.InputField

            selectionList.addOption(o);
        }
        TableData td1 = new TableData(selectionList);

        // Create the remove button and add it to another column:
        InputField removeButton = new InputField("toRemove", "Remove", InputField.InputType.BUTTON);
        TableData td2 = new TableData(removeButton);

        // Add the two columns to the row:
        row.addTableData(td1);
        row.addTableData(td2);
       
        // Add an onclick event to the remove button, which executes a client side javascript function for actually
        // removing the row:
        removeButton.addAttribute("onclick", new StringBuilder("removeRow('").append(rowId).append("');").toString());

        // Create an ajax action for appending the new row:
        AppendContentAction appendRowAction = new AppendContentAction("employees", row);

        // Create a concrete ajax response:
View Full Code Here

Examples of org.springmodules.xt.ajax.component.InputField

       
        if (! droppableOffice.getEmployees().contains(draggedEmployee)) {
            BindStatusHelper helper = new BindStatusHelper("command.employees");
           
            ListItem item = new ListItem(new SimpleText(draggedEmployee.getFirstname() + " " + draggedEmployee.getSurname()));
            InputField hidden = new InputField(helper.getStatusExpression(), draggedEmployee.getMatriculationCode(), InputField.InputType.HIDDEN);
           
            AppendContentAction appendAction = new AppendContentAction("employees", new LinkedList<Component>(Arrays.asList(item, hidden)));
           
            AjaxResponse response = new AjaxResponseImpl();
            response.addAction(appendAction);
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.