public class Desktop extends AbstractUIComponent
Modifier and Type | Field and Description |
---|---|
static Class[] |
SWING_CLASSES |
static String |
TYPE_NAME |
Constructor and Description |
---|
Desktop(JDesktopPane jDesktopPane) |
Modifier and Type | Method and Description |
---|---|
Assertion |
containsWindow(String title) |
JDesktopPane |
getAwtComponent()
Returns the Java GUI component represented by this object.
|
String |
getDescriptionTypeName()
Returns the name of the component as it will appear in the XML representation
returned by
UIComponent.getDescription() . |
Window |
getWindow(String title)
Returns a window given its title, and waits if it is not available yet.
|
Window[] |
getWindows()
Returs all the internal windows contained in the desktop.
|
addAttributes, backgroundEquals, backgroundNear, foregroundEquals, foregroundNear, getContainer, getContainer, getDescription, getDescription, getLabel, getName, getSubDescription, isEnabled, isVisible, pressKey, releaseKey, typeKey
public static final String TYPE_NAME
public static final Class[] SWING_CLASSES
public Desktop(JDesktopPane jDesktopPane)
public JDesktopPane getAwtComponent()
UIComponent
public String getDescriptionTypeName()
UIComponent
UIComponent.getDescription()
.public Window[] getWindows()
public Window getWindow(String title) throws ComponentAmbiguityException
ComponentAmbiguityException
UISpec4J.setWindowInterceptionTimeLimit(long)
Copyright © 2004–2016. All rights reserved.