Uses of Interface
org.uispec4j.UIComponent

Packages that use UIComponent
org.uispec4j Provides classes for handling user interface components. 
org.uispec4j.utils   
 

Uses of UIComponent in org.uispec4j
 

Classes in org.uispec4j that implement UIComponent
 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.

A MenuBar is a container for top-level menu items represented by MenuItem components.

 class MenuItem
          Wrapper for menu items (commands or sub-menus) such as JMenu, JMenuItem or JPopupMenu.

A given MenuItem can be either a command, or a sub-menu containing other MenuItem components.

 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.

This class provides means for checking the contents and the current position of the knob, changing the position, etc.

 class Spinner
          Wrapper for JSpinner components.
 class TabGroup
          Wrapper for JTabbedPane components.
 class Table
          Wrapper for JTable components.

The contents of the underlying table can be usually checked with String or Boolean values, as in the following example:

 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.
 

Methods in org.uispec4j with type parameters of type UIComponent
<T extends UIComponent>
Assertion
Panel.containsUIComponent(java.lang.Class<T> uicomponentClass)
           
<T extends UIComponent>
Assertion
Panel.containsUIComponent(java.lang.Class<T> uiComponentClass, java.lang.String name)
           
<T extends UIComponent>
T
Panel.findUIComponent(java.lang.Class<T> uiComponentClass)
           
<T extends UIComponent>
T
Panel.findUIComponent(java.lang.Class<T> uiComponentClass, java.lang.String name)
           
 

Methods in org.uispec4j that return UIComponent
 UIComponent Panel.findUIComponent(ComponentMatcher matcher)
           
 UIComponent[] Panel.getUIComponents(java.lang.Class uiComponentClass)
           
 UIComponent[] Panel.getUIComponents(java.lang.Class uiComponentClass, java.lang.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.
 

Methods in org.uispec4j with parameters of type UIComponent
static void Mouse.click(UIComponent uiComponent)
          Clicks in the center of a UIComponent.
static void Mouse.doClickInRectangle(UIComponent uiComponent, java.awt.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)
           
 

Uses of UIComponent in org.uispec4j.utils
 

Methods in org.uispec4j.utils with type parameters of type UIComponent
static
<T extends UIComponent>
void
UIComponentFactory.register(java.lang.Class<T>... uiSpecClasses)
           
 

Methods in org.uispec4j.utils that return UIComponent
static UIComponent UIComponentFactory.createUIComponent(java.awt.Component component)
           
static UIComponent[] UIComponentFactory.createUIComponents(java.awt.Component[] swingComponents)
           
 

Methods in org.uispec4j.utils with parameters of type UIComponent
static void KeyUtils.pressKey(UIComponent component, Key key)
           
 



Copyright © 2004-2010. All Rights Reserved.