Uses of Class
ca.corbett.forms.fields.FormField
Packages that use FormField
Package
Description
Contains utility classes related to audio handling (playback and recording).
Contains utilities and components related to image handling.
Contains the LogConsole and associated classes - useful for showing log information
for your Swing application at runtime.
Contains a custom Properties implementation to augment the one provided by java.
Contains the PropertiesDialog abstract class and its two supported implementations.
Welcome to swing-forms!
ca.corbett.forms.fields
All FormFields support optional validation in the form of a FieldValidator.
-
Uses of FormField in ca.corbett.extras
Method parameters in ca.corbett.extras with type arguments of type FormFieldModifier and TypeMethodDescriptionTextInputDialog.addValidator(FieldValidator<? extends FormField> validator) Adds a FieldValidator to the text field, allowing whatever custom validation rules you want to enforce on the input.TextInputDialog.removeValidator(FieldValidator<FormField> validator) Removes the given FieldValidator from the text field. -
Uses of FormField in ca.corbett.extras.audio
Subclasses of FormField in ca.corbett.extras.audioModifier and TypeClassDescriptionfinal classA ConfigPanel instance that allows viewing and editing settings for a WaveformConfig object.classA ConfigPanel implementation for AudioWaveformPanel.Methods in ca.corbett.extras.audio that return FormFieldMethods in ca.corbett.extras.audio with parameters of type FormField -
Uses of FormField in ca.corbett.extras.image
Subclasses of FormField in ca.corbett.extras.imageModifier and TypeClassDescriptionclassProvides a FormField implementation for viewing/editing config options for ImagePanels.classA compound (multi-component) FormField for grouping all of the fields required to configure a LogoGenerator request.Methods in ca.corbett.extras.image that return FormFieldModifier and TypeMethodDescriptionprotected FormFieldImagePanelConfig.generateFormFieldImpl()protected FormFieldLogoProperty.generateFormFieldImpl()Methods in ca.corbett.extras.image with parameters of type FormFieldModifier and TypeMethodDescriptionvoidImagePanelConfig.loadFromFormField(FormField field) voidLogoProperty.loadFromFormField(FormField field) -
Uses of FormField in ca.corbett.extras.logging
Methods in ca.corbett.extras.logging that return FormFieldMethods in ca.corbett.extras.logging with parameters of type FormField -
Uses of FormField in ca.corbett.extras.properties
Methods in ca.corbett.extras.properties that return FormFieldModifier and TypeMethodDescriptionPropertyFormFieldValueChangedEvent.formField()Returns the value of theformFieldrecord component.final FormFieldAbstractProperty.generateFormField()Delegates to generateFormField(null).final FormFieldAbstractProperty.generateFormField(FormPanel formPanel) Generates a FormField instance for this AbstractProperty, depending on our type.protected abstract FormFieldAbstractProperty.generateFormFieldImpl()Descendant classes must implement this method to generate a FormField associated with this property.protected FormFieldBooleanProperty.generateFormFieldImpl()protected FormFieldButtonProperty.generateFormFieldImpl()Creates and returns an empty ButtonField.protected FormFieldCollapsiblePanelProperty.generateFormFieldImpl()protected FormFieldColorProperty.generateFormFieldImpl()protected FormFieldComboProperty.generateFormFieldImpl()protected FormFieldDecimalProperty.generateFormFieldImpl()protected FormFieldDirectoryProperty.generateFormFieldImpl()protected FormFieldEnumProperty.generateFormFieldImpl()protected FormFieldFileProperty.generateFormFieldImpl()protected FormFieldFontProperty.generateFormFieldImpl()protected FormFieldHtmlLabelProperty.generateFormFieldImpl()protected FormFieldIntegerProperty.generateFormFieldImpl()protected FormFieldKeyStrokeProperty.generateFormFieldImpl()protected FormFieldLabelProperty.generateFormFieldImpl()protected FormFieldListProperty.generateFormFieldImpl()protected FormFieldListSubsetProperty.generateFormFieldImpl()protected FormFieldLongTextProperty.generateFormFieldImpl()protected FormFieldLookAndFeelProperty.generateFormFieldImpl()protected FormFieldMarginsProperty.generateFormFieldImpl()protected FormFieldPanelProperty.generateFormFieldImpl()protected FormFieldPasswordProperty.generateFormFieldImpl()protected FormFieldShortTextProperty.generateFormFieldImpl()protected FormFieldSliderProperty.generateFormFieldImpl()Methods in ca.corbett.extras.properties with parameters of type FormFieldModifier and TypeMethodDescriptionprotected voidAbstractProperty.fireFormFieldChangedEvent(FormPanel formPanel, FormField field, ActionEvent changeEvent) protected voidAbstractProperty.fireFormFieldGeneratedEvent(FormField formField) voidFormFieldGenerationListener.formFieldGenerated(AbstractProperty property, FormField formField) Fired after the given AbstractProperty has generated the FormField, but before the generated FormField has been supplied to whatever requested it (the application config dialog typically).abstract voidAbstractProperty.loadFromFormField(FormField field) Populates this Property's value(s) from the given form field, assuming the field is of the correct type.voidBooleanProperty.loadFromFormField(FormField field) voidButtonProperty.loadFromFormField(FormField field) voidCollapsiblePanelProperty.loadFromFormField(FormField field) voidColorProperty.loadFromFormField(FormField field) voidComboProperty.loadFromFormField(FormField field) voidDecimalProperty.loadFromFormField(FormField field) voidDirectoryProperty.loadFromFormField(FormField field) voidEnumProperty.loadFromFormField(FormField field) voidFileProperty.loadFromFormField(FormField field) voidFontProperty.loadFromFormField(FormField field) voidHtmlLabelProperty.loadFromFormField(FormField field) voidIntegerProperty.loadFromFormField(FormField field) voidKeyStrokeProperty.loadFromFormField(FormField field) voidLabelProperty.loadFromFormField(FormField field) voidListProperty.loadFromFormField(FormField field) voidListSubsetProperty.loadFromFormField(FormField field) voidLongTextProperty.loadFromFormField(FormField field) voidLookAndFeelProperty.loadFromFormField(FormField field) voidMarginsProperty.loadFromFormField(FormField field) voidPanelProperty.loadFromFormField(FormField field) voidPasswordProperty.loadFromFormField(FormField field) voidShortTextProperty.loadFromFormField(FormField field) voidSliderProperty.loadFromFormField(FormField field) Constructors in ca.corbett.extras.properties with parameters of type FormFieldModifierConstructorDescriptionPropertyFormFieldValueChangedEvent(AbstractProperty property, ActionEvent sourceEvent, FormPanel formPanel, FormField formField) Creates an instance of aPropertyFormFieldValueChangedEventrecord class. -
Uses of FormField in ca.corbett.extras.properties.dialog
Methods in ca.corbett.extras.properties.dialog that return FormFieldModifier and TypeMethodDescriptionPropertiesDialog.findFormField(String identifier) Returns the FormField with the given identifier if it exists anywhere on this dialog. -
Uses of FormField in ca.corbett.forms
Methods in ca.corbett.forms that return FormFieldModifier and TypeMethodDescriptionFormPanel.findFormField(String identifier) Synonym for getFormField(String identifier).FormPanel.getFormField(String identifier) Finds and returns a specific FormField by its identifier, if it exists.Methods in ca.corbett.forms that return types with arguments of type FormFieldModifier and TypeMethodDescriptionFormPanel.getFormFields()Returns a copy of the list of FormFields contained in this panel.Methods in ca.corbett.forms with parameters of type FormFieldModifier and TypeMethodDescriptionAdds the specified FormField to this FormPanel.Method parameters in ca.corbett.forms with type arguments of type FormField -
Uses of FormField in ca.corbett.forms.fields
Subclasses of FormField in ca.corbett.forms.fieldsModifier and TypeClassDescriptionclassRepresents a FormField that can contain one or more buttons with configurable actions.final classA FormField to wrap a JCheckBox.classSimilar to PanelField, except this class gives you an "expand/contract" icon that allows the panel contents to be displayed or hidden.classA FormField implementation for selecting a solid color.classComboField<T>A FormField wrapping a JComboBox.final classA FormField for choosing a single directory or file.final classA FormField implementation that provides the ability to select a Font, with optional abilities to select font size, font color, and font background color.classThe HtmlLabelField can be used to convert part of a label into a hyperlink, or which can be used to embed multiple separate hyperlinks within the same label.classA FormField implementation that allows the user to select one or more images, and display them in a scrollable form field.classA custom FormField implementation that allows editing of a single KeyStroke assignment.final classRepresents a form field that just presents a static label without any user interaction.classListField<T>Wraps a JList to allow for multi-selection of some object type.classRepresents a FormField that allows selection of a subset from a list.classA FormField implementation specifically for long (multi-line) text input.classA FormField implementation for viewing or editing a Margins instance.final classA FormField that wraps a JSpinner to allow numeric input.classA FormField that wraps and exposes a JPanel, into which callers can render whatever extra custom components they want to display inline with the form.classA FormField for password input.classA FormField implementation specifically for short (single-line) text input.classWraps a JSlider and provides options for configuring it.Fields in ca.corbett.forms.fields with type parameters of type FormFieldModifier and TypeFieldDescriptionprotected final List<FieldValidator<? extends FormField>> FormField.fieldValidatorsMethods in ca.corbett.forms.fields that return FormFieldModifier and TypeMethodDescriptionFormField.addAllExtraAttributes(Map<String, Object> newAttributes) Adds the map of extra attributes to our existing list.FileField.addFieldValidator(FieldValidator<? extends FormField> validator) Overridden so that it acts only on our "user-added" validators list.FormField.addFieldValidator(FieldValidator<? extends FormField> validator) Adds a FieldValidator to this FormField.FormField.addValueChangedListener(ValueChangedListener listener) Adds a value changed listener that will be invoked when the field value is changed.FormField.setAllExtraAttributes(Map<String, Object> newAttributes) Clears any extra attributes currently held by this form field and then accepts the given list of attributes.ButtonField.setEnabled(boolean isEnabled) Overridden here so we can enable/disable our buttons as needed.CollapsiblePanelField.setEnabled(boolean isEnabled) Overridden here so we can optionally propagate the new enabled status to all contained components, depending on isEnabledStatusPropagated.FileField.setEnabled(boolean enabled) Overridden so we can enable/disable our choose button also.FontField.setEnabled(boolean enabled) FormField.setEnabled(boolean enabled) Enables or disables all components in this field.ImageListField.setEnabled(boolean enabled) Enables or disables the underlying ImageListPanel.ListField.setEnabled(boolean isEnabled) LongTextField.setEnabled(boolean enabled) Overridden here so we can also enable or disable our text area.MarginsField.setEnabled(boolean isEnabled) Overridden here so we can enable or disable all of our spinners and labels as needed when the FormField itself is enabled or disabled.PanelField.setEnabled(boolean isEnabled) Overridden here so we can optionally propagate the new enabled status to all contained components, depending on isEnabledStatusPropagated.PasswordField.setEnabled(boolean isEnabled) Overridden so we can disable all our child components when setEnabled is invoked.SliderField.setEnabled(boolean isEnabled) FormField.setExtraAttribute(String name, Object value) Set an arbitrary extra attribute to this form field.FormField.setFieldLabelFont(Font font) FormField.setHelpText(String helpText) Sets optional help text for this field.FormField.setIdentifier(String id) Sets an internal String identifier for this field.FormField.setMargins(Margins margins) FormField.setVisible(boolean visible) Sets the visibility status of all components of this field.Methods in ca.corbett.forms.fields with parameters of type FormFieldModifier and TypeMethodDescriptionvoidValueChangedListener.formFieldValueChanged(FormField field) The value in the given FormField has been modified.Method parameters in ca.corbett.forms.fields with type arguments of type FormFieldModifier and TypeMethodDescriptionFileField.addFieldValidator(FieldValidator<? extends FormField> validator) Overridden so that it acts only on our "user-added" validators list.FormField.addFieldValidator(FieldValidator<? extends FormField> validator) Adds a FieldValidator to this FormField.voidFileField.removeFieldValidator(FieldValidator<FormField> validator) Overridden so that it acts only on our "user-added" validators list.voidFormField.removeFieldValidator(FieldValidator<FormField> validator) Removes the given FieldValidator from this FormField. -
Uses of FormField in ca.corbett.forms.validators
Classes in ca.corbett.forms.validators with type parameters of type FormFieldModifier and TypeInterfaceDescriptioninterfaceFieldValidator<T extends FormField>Provides an interface for performing validation on some type of FormField.Methods in ca.corbett.forms.validators with parameters of type FormFieldModifier and TypeMethodDescription