Package avail. anvil. components
Types
Link copied to clipboard
class ComboWithLabel<SelectionType>( label: String, val options: Array<SelectionType>, emptySpaceRight: Double? = null, emptySpaceLeft: Double? = null, panelBorder: Border = BorderFactory.createEmptyBorder(10,10,10,10)) : JPanel
Content copied to clipboard
A JPanel with a GridBagLayout that places a JLabel to the left of a JTextField.
Link copied to clipboard
class DirectoryChooser( label: String, title: String, panelBorder: Border = BorderFactory.createEmptyBorder(10,10,10,10)) : JPanel
Content copied to clipboard
A JPanel with a GridBagLayout that places a JLabel to the left of the JTextField and a button to the right of the JTextField that opens a JFileChooser used to choose a directory.
Link copied to clipboard
class TextFieldWithLabel( label: String, emptySpaceRight: Double? = null, emptySpaceLeft: Double? = null, panelBorder: Border = BorderFactory.createEmptyBorder(10,10,10,10)) : JPanel
Content copied to clipboard
A JPanel with a GridBagLayout that places a JLabel to the left of a JTextField.
Link copied to clipboard
class TextFieldWithLabelAndButton( label: String, emptySpaceRight: Double? = null, emptySpaceLeft: Double? = null, panelBorder: Border = BorderFactory.createEmptyBorder(10,10,10,10)) : JPanel
Content copied to clipboard
A JPanel with a GridBagLayout that places a JLabel to the left of the JTextField and a button to the right of the JTextField.
Link copied to clipboard
class TextFieldWithLabelButtonValidationText( label: String, emptySpaceRight: Double? = null, emptySpaceLeft: Double? = null, panelBorder: Border = BorderFactory.createEmptyBorder(10,10,10,10), validator: (String) -> String?) : JPanel
Content copied to clipboard
A JPanel with a GridBagLayout that places a JLabel to the left of a JTextField followed by a JButton with a space for an optionally displayed validation message.