Open topic with navigation

# Java Namespace

The Insight namespace provides the SDK for testing Java objects.

## Classes

- Applet
- AppletTO
- Button
- ButtonTO
- Calendar
- CalendarTO
- CheckBox
- CheckBoxTO
- Dialog
- DialogTO
- Editor
- EditorTO
- ExpandBar
- ExpandBarItem
- ExpandBarTO
- InternalFrame
- InternalFrameTO
- KeyboardEventInfo
- Label
- LabelTO
- Link
- LinkTO
- List
- ListItem
- ListTO
- Menu
- MenuTO
- MouseEventInfo
- RadioButton
- RadioButtonTO
- Slider
- SliderTO
- SpinBox
- SpinBoxTO
- TabControl
- TabControlTO
- Table
- TableCell
- TableTO
- ToolBar
- ToolBarButton
- ToolBarTO
- TreeView
- TreeViewNode
- TreeViewTO
- UiEventInfo
- UiObject
- UiObjectTO
- Window
- WindowTO

## Type Definitions

## CalendarStyle

Represents the style of a Java calendar.

##### Type:

Java.CalendarStyle

##### Properties:

Name | Type | Description
--- | --- | ---
`date` | string | Date style.
`time` | string | Time style.
`calendar` | string | Calendar style.

## MouseEvent

Constants for Mouse events.

##### Type:

Java.MouseEvent

##### Properties:

Name | Type | Description
--- | --- | ---
`mouseClicked` | string | A mouse button is pressed and released.
`mouseDragged` | string | The mouse position changes while a mouse button is pressed.
`mouseEntered` | string | The mouse cursor enters the unobscured part of the component.
`mouseExited` | string | The mouse cursor exits the unobscured part of the component.
`mouseMoved` | string | The mouse position changes.
`mousePressed` | string | A mouse button is pushed down.
`mouseReleased` | string | A mouse button is let up.

## SliderOrientation

The horizontal or vertical orientation of the slider.

##### Type:

Java.SliderOrientation

##### Properties:

Name | Type | Description
--- | --- | ---
`horizontal` | string | The slider is horizontal.
`vertical` | string | The slider is vertical.

## TableKeyModifier

Keyboard keys that can be pressed and held down during the execution of a table method, such as the click method.

##### Type:

- Java.TableKeyModifier

##### Properties:

Name | Type | Description
--- | --- | ---
`shift` | string | Shift key.
`control` | string | Control key.
`alt` | string | Alt key.
`controlAndShift` | string | Control and Shift keys pressed at the same time.

## UiEvent

Constants for UI events.

##### Type:

- Java.UiEvent

##### Properties:

Name | Type | Description
--- | --- | ---
`focusGained` | string | The test object gained focus.
`focusLost` | string | The test object lost focus.

## KeyboardEvent

Constants for Keyboard events.

##### Type:

- Java.KeyboardEvent

##### Properties:

Name | Type | Description
--- | --- | ---
`keyPressed` | string | A key is pushed down.
`keyReleased` | string | A key is let up.
`keyTyped` | string | A character is entered. A single key press or a character produced by series of key presses. If a series of keys, the mapping from key pressed events to key typed events can be many-to-one or many-to-many.