Class SelectRandomSeed
java.lang.Object
com.marginallyclever.donatello.select.Select
com.marginallyclever.donatello.select.SelectRandomSeed
A JFormattedTextField that sets itself up to format integers. Also includes a "random" button.
- Since:
- 7.50.5
- Author:
- Dan Royer
-
Constructor Summary
ConstructorsConstructorDescriptionSelectRandomSeed
(String internalName, String labelKey, int defaultValue) SelectRandomSeed
(String internalName, String labelKey, Locale locale) SelectRandomSeed
(String internalName, String labelKey, Locale locale, int defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionvoid
attach
(JComponent panel, GridBagConstraints gbc) int
getValue()
void
void
setReadOnly
(boolean state) void
setValue
(int arg0) Methods inherited from class com.marginallyclever.donatello.select.Select
addSelectListener, getName, removeSelectListener, setName
-
Constructor Details
-
SelectRandomSeed
-
SelectRandomSeed
-
SelectRandomSeed
-
-
Method Details
-
setReadOnly
public void setReadOnly(boolean state) - Specified by:
setReadOnly
in classSelect
-
attach
-
setReadOnly
public void setReadOnly() -
getValue
public int getValue()- Returns:
- last valid integer typed into field.
-
setValue
public void setValue(int arg0)
-