Package | Description |
---|---|
org.uispec4j |
Provides classes for handling user interface components.
|
org.uispec4j.utils |
Modifier and Type | Class and Description |
---|---|
class |
AbstractButton
Base class for button-like components (toggle buttons, check boxes, etc.)
|
class |
AbstractSwingUIComponent
Base class for UIComponent implementations that wrap JComponent subclasses.
|
class |
AbstractUIComponent
Base class for UIComponent implementations.
|
class |
Button
Wrapper for JButton components.
|
class |
CheckBox
Wrapper for JCheckBox components.
|
class |
ComboBox
Wrapper for JComboBox components.
|
class |
DateSpinner
Wrapper for JSpinner components implementing a SpinnerDateModel.
|
class |
Desktop
Wrapper for Multiple Desktop Interface (MDI) widgets implemented as JDesktopPane components.
|
class |
ListBox
Wrapper for JList components.
|
class |
ListSpinner
Wrapper for JSpinner components implementing a SpinnerListModel.
|
class |
MenuBar
Wrapper for JMenuBar components.
|
class |
MenuItem
Wrapper for menu items (commands or sub-menus) such as JMenu, JMenuItem or JPopupMenu.
|
class |
NumberSpinner
Wrapper for JSpinner components implementing a SpinnerNumberModel.
|
class |
Panel
General container for UI components.
|
class |
PasswordField
Wrapper for JPasswordField components.
|
class |
ProgressBar
Wrapper for JProgressBar components.
|
class |
RadioButton
Wrapper for JRadioButton components.
|
class |
Slider
Wrapper for JSlider components.
|
class |
Spinner
Wrapper for JSpinner components.
|
class |
TabGroup
Wrapper for JTabbedPane components.
|
class |
Table
Wrapper for JTable components.
|
class |
Table.Cell
Represents a table cell.
|
class |
TextBox
Wrapper for JTextComponent/JLabel components.
|
class |
ToggleButton
Wrapper for JToggleButton components.
|
class |
Tree
Wrapper for JTree components.
|
class |
Window
Wrapper for window components such as JFrame, JDialog, JInternalFrame.
|
Modifier and Type | Method and Description |
---|---|
<T extends UIComponent> |
Panel.containsUIComponent(Class<T> uicomponentClass) |
<T extends UIComponent> |
Panel.containsUIComponent(Class<T> uiComponentClass,
String name) |
<T extends UIComponent> |
Panel.findUIComponent(Class<T> uiComponentClass) |
<T extends UIComponent> |
Panel.findUIComponent(Class<T> uiComponentClass,
String name) |
Modifier and Type | Method and Description |
---|---|
UIComponent |
Panel.findUIComponent(ComponentMatcher matcher) |
UIComponent[] |
Panel.getUIComponents(Class uiComponentClass) |
UIComponent[] |
Panel.getUIComponents(Class uiComponentClass,
String name) |
UIComponent[] |
Panel.getUIComponents(ComponentMatcher matcher) |
UIComponent |
UIComponent.pressKey(Key key)
Simulates pressing a key while the focus is on the component.
|
UIComponent |
UIComponent.releaseKey(Key key)
Simulates releasing a key while the focus is on the component.
|
UIComponent |
UIComponent.typeKey(Key key)
Simulates typing a key while the focus is on the component.
|
Modifier and Type | Method and Description |
---|---|
static void |
Mouse.click(UIComponent uiComponent)
Clicks in the center of a UIComponent.
|
static void |
Mouse.doClickInRectangle(UIComponent uiComponent,
Rectangle rect,
boolean useRightClick,
Key.Modifier keyModifier)
Clicks in a given area of a UIComponent.
|
static void |
Mouse.doubleClick(UIComponent uiComponent)
Double clicks in the center of a UIComponent.
|
static void |
Mouse.drag(UIComponent component,
boolean useRightClick,
Key.Modifier keyModifier,
int x,
int y) |
static void |
Mouse.drag(UIComponent component,
int x,
int y) |
static void |
Mouse.pressed(UIComponent component,
boolean useRightClick,
Key.Modifier keyModifier,
int x,
int y) |
static void |
Mouse.pressed(UIComponent component,
int x,
int y) |
static void |
Mouse.released(UIComponent component,
boolean useRightClick,
Key.Modifier keyModifier,
int x,
int y) |
static void |
Mouse.released(UIComponent component,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
static <T extends UIComponent> |
UIComponentFactory.register(Class<T>... uiSpecClasses) |
Modifier and Type | Method and Description |
---|---|
static UIComponent |
UIComponentFactory.createUIComponent(Component component) |
static UIComponent[] |
UIComponentFactory.createUIComponents(Component[] swingComponents) |
Modifier and Type | Method and Description |
---|---|
static void |
KeyUtils.pressKey(UIComponent component,
Key key) |
Copyright © 2004–2016. All rights reserved.