Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
D
- DecimalNumberValuesDocument - Class in io.github.astrapi69.swing.model.component
-
The class
DecimalNumberValuesDocument
provides a document for text components that only allows decimal number values. - DecimalNumberValuesDocument() - Constructor for class io.github.astrapi69.swing.model.component.DecimalNumberValuesDocument
-
Constructs a new
DecimalNumberValuesDocument
with the default regular expression. - DecimalNumberValuesDocument(String) - Constructor for class io.github.astrapi69.swing.model.component.DecimalNumberValuesDocument
-
Constructs a new
DecimalNumberValuesDocument
with the specified regular expression. - DEFAULT_REGEX - Static variable in class io.github.astrapi69.swing.model.component.DecimalNumberValuesDocument
-
The Constant for the default regular expression.
I
- insertString(int, String, AttributeSet) - Method in class io.github.astrapi69.swing.model.component.DecimalNumberValuesDocument
- io.github.astrapi69.swing.model.component - package io.github.astrapi69.swing.model.component
J
- JMBigDecimalTextField - Class in io.github.astrapi69.swing.model.component
-
The class
JMBigDecimalTextField
provides a text field component for handlingBigDecimal
values. - JMBigDecimalTextField() - Constructor for class io.github.astrapi69.swing.model.component.JMBigDecimalTextField
-
Constructs a new
TextField
. - JMBigDecimalTextField(int) - Constructor for class io.github.astrapi69.swing.model.component.JMBigDecimalTextField
-
Constructs a new
TextField
initialized with the specified columns. - JMBigDecimalTextField(IModel<BigDecimal>) - Constructor for class io.github.astrapi69.swing.model.component.JMBigDecimalTextField
-
Constructs a new
TextField
with the specified property model. - JMBigDecimalTextField(String) - Constructor for class io.github.astrapi69.swing.model.component.JMBigDecimalTextField
-
Constructs a new
TextField
initialized with the specified text. - JMBigDecimalTextField(String, int) - Constructor for class io.github.astrapi69.swing.model.component.JMBigDecimalTextField
-
Constructs a new
TextField
initialized with the specified text and columns. - JMBigIntegerTextField - Class in io.github.astrapi69.swing.model.component
-
The class
JMBigIntegerTextField
provides a text field component for handlingBigInteger
values. - JMBigIntegerTextField() - Constructor for class io.github.astrapi69.swing.model.component.JMBigIntegerTextField
-
Constructs a new
TextField
. - JMBigIntegerTextField(int) - Constructor for class io.github.astrapi69.swing.model.component.JMBigIntegerTextField
-
Constructs a new
TextField
initialized with the specified columns. - JMBigIntegerTextField(IModel<BigInteger>) - Constructor for class io.github.astrapi69.swing.model.component.JMBigIntegerTextField
-
Constructs a new
TextField
with the specified property model. - JMBigIntegerTextField(String) - Constructor for class io.github.astrapi69.swing.model.component.JMBigIntegerTextField
-
Constructs a new
TextField
initialized with the specified text. - JMBigIntegerTextField(String, int) - Constructor for class io.github.astrapi69.swing.model.component.JMBigIntegerTextField
-
Constructs a new
TextField
initialized with the specified text and columns. - JMCheckBox - Class in io.github.astrapi69.swing.model.component
-
The class
JMCheckBox
provides a checkbox component with an associated model. - JMCheckBox() - Constructor for class io.github.astrapi69.swing.model.component.JMCheckBox
-
Constructs a new
JMCheckBox
with no text or icon. - JMCheckBox(boolean) - Constructor for class io.github.astrapi69.swing.model.component.JMCheckBox
-
Constructs a new
JMCheckBox
with the specified selection state. - JMCheckBox(String) - Constructor for class io.github.astrapi69.swing.model.component.JMCheckBox
-
Constructs a new
JMCheckBox
with the specified text. - JMCheckBox(String, boolean) - Constructor for class io.github.astrapi69.swing.model.component.JMCheckBox
-
Constructs a new
JMCheckBox
with the specified text and selection state. - JMCheckBox(String, Icon) - Constructor for class io.github.astrapi69.swing.model.component.JMCheckBox
-
Constructs a new
JMCheckBox
with the specified text and icon. - JMCheckBox(String, Icon, boolean) - Constructor for class io.github.astrapi69.swing.model.component.JMCheckBox
-
Constructs a new
JMCheckBox
with the specified text, icon, and selection state. - JMCheckBox(Action) - Constructor for class io.github.astrapi69.swing.model.component.JMCheckBox
-
Constructs a new
JMCheckBox
with the specified action. - JMCheckBox(Icon) - Constructor for class io.github.astrapi69.swing.model.component.JMCheckBox
-
Constructs a new
JMCheckBox
with the specified icon. - JMCheckBox(Icon, boolean) - Constructor for class io.github.astrapi69.swing.model.component.JMCheckBox
-
Constructs a new
JMCheckBox
with the specified icon and selection state. - JMComboBox<T,
CMB extends ComboBoxModel<T>> - Class in io.github.astrapi69.swing.model.component -
The class
JMComboBox
provides a combo box component with an associated model. - JMComboBox() - Constructor for class io.github.astrapi69.swing.model.component.JMComboBox
-
Constructs a new
JMComboBox
with no items. - JMComboBox(CMB) - Constructor for class io.github.astrapi69.swing.model.component.JMComboBox
-
Constructs a new
JMComboBox
with the specified combo box model. - JMComboBox(CMB, IModel<T>) - Constructor for class io.github.astrapi69.swing.model.component.JMComboBox
-
Constructs a new
JMComboBox
with the specified combo box model and property model. - JMComboBox(IModel<T>) - Constructor for class io.github.astrapi69.swing.model.component.JMComboBox
-
Constructs a new
JMComboBox
with no items and the specified property model. - JMComboBox(ComboBoxUI) - Constructor for class io.github.astrapi69.swing.model.component.JMComboBox
-
Constructs a new
JMComboBox
with a custom UI. - JMComboBox(T[]) - Constructor for class io.github.astrapi69.swing.model.component.JMComboBox
-
Constructs a new
JMComboBox
with an array of items. - JMComboBox(T[], IModel<T>) - Constructor for class io.github.astrapi69.swing.model.component.JMComboBox
-
Constructs a new
JMComboBox
with an array of items and a property model. - JMComboBox(T, CMB) - Constructor for class io.github.astrapi69.swing.model.component.JMComboBox
-
Constructs a new
JMComboBox
with the specified selected model object and combo box model. - JMFormattedTextField - Class in io.github.astrapi69.swing.model.component
-
The class
JMFormattedTextField
provides a formatted text field component with an associated model. - JMFormattedTextField() - Constructor for class io.github.astrapi69.swing.model.component.JMFormattedTextField
-
Constructs a new
JMFormattedTextField
. - JMFormattedTextField(IModel<String>) - Constructor for class io.github.astrapi69.swing.model.component.JMFormattedTextField
-
Constructs a new
JMFormattedTextField
with the specified property model. - JMFormattedTextField(Object) - Constructor for class io.github.astrapi69.swing.model.component.JMFormattedTextField
-
Constructs a new
JMFormattedTextField
initialized with the specified value. - JMFormattedTextField(String) - Constructor for class io.github.astrapi69.swing.model.component.JMFormattedTextField
-
Constructs a new
JMFormattedTextField
initialized with the specified text. - JMFormattedTextField(String, int) - Constructor for class io.github.astrapi69.swing.model.component.JMFormattedTextField
-
Constructs a new
JMFormattedTextField
initialized with the specified text and columns. - JMFormattedTextField(JFormattedTextField.AbstractFormatter) - Constructor for class io.github.astrapi69.swing.model.component.JMFormattedTextField
-
Constructs a new
JMFormattedTextField
initialized with the specified formatter. - JMGenericTextField<T> - Class in io.github.astrapi69.swing.model.component
-
The abstract class
JMGenericTextField
provides a text field component that is associated with a model. - JMGenericTextField() - Constructor for class io.github.astrapi69.swing.model.component.JMGenericTextField
-
Constructs a new
TextField
. - JMGenericTextField(int) - Constructor for class io.github.astrapi69.swing.model.component.JMGenericTextField
-
Constructs a new
TextField
initialized with the specified columns. - JMGenericTextField(IModel<T>) - Constructor for class io.github.astrapi69.swing.model.component.JMGenericTextField
-
Constructs a new
TextField
with the specified property model. - JMGenericTextField(String) - Constructor for class io.github.astrapi69.swing.model.component.JMGenericTextField
-
Constructs a new
TextField
initialized with the specified text. - JMGenericTextField(String, int) - Constructor for class io.github.astrapi69.swing.model.component.JMGenericTextField
-
Constructs a new
TextField
initialized with the specified text and columns. - JMIntegerTextField - Class in io.github.astrapi69.swing.model.component
-
The class
JMIntegerTextField
provides a text field component for handlingInteger
values. - JMIntegerTextField() - Constructor for class io.github.astrapi69.swing.model.component.JMIntegerTextField
-
Constructs a new
JMIntegerTextField
. - JMIntegerTextField(int) - Constructor for class io.github.astrapi69.swing.model.component.JMIntegerTextField
-
Constructs a new
JMIntegerTextField
initialized with the specified columns. - JMIntegerTextField(IModel<Integer>) - Constructor for class io.github.astrapi69.swing.model.component.JMIntegerTextField
-
Constructs a new
JMIntegerTextField
with the specified property model. - JMIntegerTextField(String) - Constructor for class io.github.astrapi69.swing.model.component.JMIntegerTextField
-
Constructs a new
JMIntegerTextField
initialized with the specified text. - JMIntegerTextField(String, int) - Constructor for class io.github.astrapi69.swing.model.component.JMIntegerTextField
-
Constructs a new
JMIntegerTextField
initialized with the specified text and columns. - JMLabel - Class in io.github.astrapi69.swing.model.component
-
The class
JMLabel
provides a label component with an associated model. - JMLabel() - Constructor for class io.github.astrapi69.swing.model.component.JMLabel
-
Constructs a new
JMLabel
with no text or icon. - JMLabel(IModel<LabelModel>) - Constructor for class io.github.astrapi69.swing.model.component.JMLabel
-
Constructs a new
JMLabel
with the specified property model. - JMLabel(String) - Constructor for class io.github.astrapi69.swing.model.component.JMLabel
-
Constructs a new
JMLabel
with the specified text. - JMLabel(String, int) - Constructor for class io.github.astrapi69.swing.model.component.JMLabel
-
Constructs a new
JMLabel
with the specified text and horizontal alignment. - JMLabel(String, Icon, int) - Constructor for class io.github.astrapi69.swing.model.component.JMLabel
-
Constructs a new
JMLabel
with the specified text, icon, and horizontal alignment. - JMLabel(Icon) - Constructor for class io.github.astrapi69.swing.model.component.JMLabel
-
Constructs a new
JMLabel
with the specified icon. - JMLabel(Icon, int) - Constructor for class io.github.astrapi69.swing.model.component.JMLabel
-
Constructs a new
JMLabel
with the specified icon and horizontal alignment. - JMPasswordField - Class in io.github.astrapi69.swing.model.component
-
The class
JMPasswordField
provides a password field component with an associated model. - JMPasswordField() - Constructor for class io.github.astrapi69.swing.model.component.JMPasswordField
-
Constructs a new
JMPasswordField
. - JMPasswordField(int) - Constructor for class io.github.astrapi69.swing.model.component.JMPasswordField
-
Constructs a new empty
JMPasswordField
with the specified number of columns. - JMPasswordField(IModel<char[]>) - Constructor for class io.github.astrapi69.swing.model.component.JMPasswordField
-
Constructs a new
JMPasswordField
with the specified property model. - JMPasswordField(String) - Constructor for class io.github.astrapi69.swing.model.component.JMPasswordField
-
Constructs a new
JMPasswordField
initialized with the specified text. - JMPasswordField(String, int) - Constructor for class io.github.astrapi69.swing.model.component.JMPasswordField
-
Constructs a new
JMPasswordField
initialized with the specified text and columns. - JMPasswordField(Document, String, int) - Constructor for class io.github.astrapi69.swing.model.component.JMPasswordField
-
Constructs a new
JMPasswordField
that uses the given text storage model and the given number of columns. - JMSpinner<T> - Class in io.github.astrapi69.swing.model.component
-
The class
JMSpinner
provides a spinner component with an associated model. - JMSpinner() - Constructor for class io.github.astrapi69.swing.model.component.JMSpinner
-
Constructs a spinner with an
Integer SpinnerNumberModel
with initial value 0 and no minimum or maximum limits. - JMSpinner(int, int, int, int) - Constructor for class io.github.astrapi69.swing.model.component.JMSpinner
-
Constructs a spinner with an
Integer SpinnerNumberModel
with the specified initial value, minimum, maximum, and step size. - JMSpinner(SpinnerModel) - Constructor for class io.github.astrapi69.swing.model.component.JMSpinner
-
Constructs a spinner for the given model.
- JMSpinner(SpinnerModel, IModel<T>) - Constructor for class io.github.astrapi69.swing.model.component.JMSpinner
-
Constructs a spinner with the specified model and property model.
- JMStringTextField - Class in io.github.astrapi69.swing.model.component
-
The class
JMStringTextField
provides a text field component for handlingString
values. - JMStringTextField() - Constructor for class io.github.astrapi69.swing.model.component.JMStringTextField
-
Constructs a new
JMStringTextField
. - JMStringTextField(int) - Constructor for class io.github.astrapi69.swing.model.component.JMStringTextField
-
Constructs a new
JMStringTextField
initialized with the specified columns. - JMStringTextField(IModel<String>) - Constructor for class io.github.astrapi69.swing.model.component.JMStringTextField
-
Constructs a new
JMStringTextField
with the specified property model. - JMStringTextField(String) - Constructor for class io.github.astrapi69.swing.model.component.JMStringTextField
-
Constructs a new
JMStringTextField
initialized with the specified text. - JMStringTextField(String, int) - Constructor for class io.github.astrapi69.swing.model.component.JMStringTextField
-
Constructs a new
JMStringTextField
initialized with the specified text and columns. - JMTextArea - Class in io.github.astrapi69.swing.model.component
-
The class
JMTextArea
provides a text area component with an associated model. - JMTextArea() - Constructor for class io.github.astrapi69.swing.model.component.JMTextArea
-
Constructs a new
JMTextArea
. - JMTextArea(int, int) - Constructor for class io.github.astrapi69.swing.model.component.JMTextArea
-
Constructs a new
JMTextArea
with the specified number of rows and columns. - JMTextArea(IModel<String>) - Constructor for class io.github.astrapi69.swing.model.component.JMTextArea
-
Constructs a new
JMTextArea
with the specified property model. - JMTextArea(String) - Constructor for class io.github.astrapi69.swing.model.component.JMTextArea
-
Constructs a new
JMTextArea
with the specified text. - JMTextArea(String, int, int) - Constructor for class io.github.astrapi69.swing.model.component.JMTextArea
-
Constructs a new
JMTextArea
with the specified text and number of rows and columns. - JMTextArea(Document, String, int, int) - Constructor for class io.github.astrapi69.swing.model.component.JMTextArea
-
Constructs a new
JMTextArea
with the specified document model, text, and number of rows and columns. - JMTextField - Class in io.github.astrapi69.swing.model.component
-
The class
JMTextField
provides a text field component with an associated model. - JMTextField() - Constructor for class io.github.astrapi69.swing.model.component.JMTextField
-
Constructs a new
JMTextField
. - JMTextField(int) - Constructor for class io.github.astrapi69.swing.model.component.JMTextField
-
Constructs a new
JMTextField
initialized with the specified columns. - JMTextField(IModel<String>) - Constructor for class io.github.astrapi69.swing.model.component.JMTextField
-
Constructs a new
JMTextField
with the specified property model. - JMTextField(String) - Constructor for class io.github.astrapi69.swing.model.component.JMTextField
-
Constructs a new
JMTextField
initialized with the specified text. - JMTextField(String, int) - Constructor for class io.github.astrapi69.swing.model.component.JMTextField
-
Constructs a new
JMTextField
initialized with the specified text and columns. - JMTextField(Document, String, int) - Constructor for class io.github.astrapi69.swing.model.component.JMTextField
-
Constructs a new
JTextField
that uses the given text storage model and the given number of columns.
O
- onInitialize() - Method in class io.github.astrapi69.swing.model.component.JMBigDecimalTextField
-
Initializes the text field by setting a document that allows only decimal number values and adding a document listener.
- onInitialize() - Method in class io.github.astrapi69.swing.model.component.JMBigIntegerTextField
-
Initializes the text field by setting a document that allows only number values and adding a document listener.
- onInitialize() - Method in class io.github.astrapi69.swing.model.component.JMGenericTextField
-
Called during initialization.
- onInitialize() - Method in class io.github.astrapi69.swing.model.component.JMIntegerTextField
-
Initializes the text field by setting a document that allows only number values and adding a document listener.
- onInitialize() - Method in class io.github.astrapi69.swing.model.component.JMStringTextField
-
Initializes the text field by adding a document listener to update the model when the text changes.
R
- replace(int, int, String, AttributeSet) - Method in class io.github.astrapi69.swing.model.component.DecimalNumberValuesDocument
S
- setPropertyModel(IModel<char[]>) - Method in class io.github.astrapi69.swing.model.component.JMPasswordField
-
Sets the property model and updates the password field's text.
- setPropertyModel(IModel<LabelModel>) - Method in class io.github.astrapi69.swing.model.component.JMLabel
-
Sets the property model and updates the label's text, icon, and horizontal alignment.
- setPropertyModel(IModel<Boolean>) - Method in class io.github.astrapi69.swing.model.component.JMCheckBox
-
Sets the property model and updates the checkbox's selection state.
- setPropertyModel(IModel<String>) - Method in class io.github.astrapi69.swing.model.component.JMFormattedTextField
-
Sets the property model and updates the formatted text field's text.
- setPropertyModel(IModel<String>) - Method in class io.github.astrapi69.swing.model.component.JMTextArea
-
Sets the property model and updates the text area's text.
- setPropertyModel(IModel<String>) - Method in class io.github.astrapi69.swing.model.component.JMTextField
-
Sets the property model and updates the text field's text.
- setPropertyModel(IModel<T>) - Method in class io.github.astrapi69.swing.model.component.JMComboBox
-
Sets the property model and updates the combo box's selected item.
- setPropertyModel(IModel<T>) - Method in class io.github.astrapi69.swing.model.component.JMGenericTextField
-
Sets the property model and updates the text field with the model's text representation.
- setPropertyModel(IModel<T>) - Method in class io.github.astrapi69.swing.model.component.JMSpinner
-
Sets the property model and updates the spinner's value.
- swing.model.components.main - module swing.model.components.main
-
The MIT License Copyright (C) 2022 Asterios Raptis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
T
- toGenericObject(String) - Method in class io.github.astrapi69.swing.model.component.JMBigDecimalTextField
-
Converts the given text to a
BigDecimal
object. - toGenericObject(String) - Method in class io.github.astrapi69.swing.model.component.JMBigIntegerTextField
-
Converts the given text to a
BigInteger
object. - toGenericObject(String) - Method in class io.github.astrapi69.swing.model.component.JMGenericTextField
-
Converts the given text to the generic object type.
- toGenericObject(String) - Method in class io.github.astrapi69.swing.model.component.JMIntegerTextField
-
Converts the given text to an
Integer
object. - toGenericObject(String) - Method in class io.github.astrapi69.swing.model.component.JMStringTextField
-
Converts the given text to a
String
object. - toText(Integer) - Method in class io.github.astrapi69.swing.model.component.JMIntegerTextField
-
Converts the given
Integer
object to its text representation. - toText(String) - Method in class io.github.astrapi69.swing.model.component.JMStringTextField
-
Converts the given
String
object to its text representation. - toText(BigDecimal) - Method in class io.github.astrapi69.swing.model.component.JMBigDecimalTextField
-
Converts the given
BigDecimal
object to its text representation. - toText(BigInteger) - Method in class io.github.astrapi69.swing.model.component.JMBigIntegerTextField
-
Converts the given
BigInteger
object to its text representation. - toText(T) - Method in class io.github.astrapi69.swing.model.component.JMGenericTextField
-
Converts the given property model object to its text representation.
V
- validate(String) - Method in class io.github.astrapi69.swing.model.component.DecimalNumberValuesDocument
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form