Liking cljdoc? Tell your friends :D

javax.accessibility.AccessibleComponent

The AccessibleComponent interface should be supported by any object that is rendered on the screen. This interface provides the standard mechanism for an assistive technology to determine and set the graphical representation of an object. Applications can determine if an object supports the AccessibleComponent interface by first obtaining its AccessibleContext and then calling the AccessibleContext.getAccessibleComponent() method. If the return value is not null, the object supports this interface.

The AccessibleComponent interface should be supported by any object
that is rendered on the screen.  This interface provides the standard
mechanism for an assistive technology to determine and set the
graphical representation of an object.  Applications can determine
if an object supports the AccessibleComponent interface by first
obtaining its AccessibleContext
and then calling the
AccessibleContext.getAccessibleComponent() method.
If the return value is not null, the object supports this interface.
raw docstring

add-focus-listenerclj

(add-focus-listener this l)

Adds the specified focus listener to receive focus events from this component.

l - the focus listener - java.awt.event.FocusListener

Adds the specified focus listener to receive focus events from this
 component.

l - the focus listener - `java.awt.event.FocusListener`
raw docstring

containsclj

(contains this p)

Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.

p - the Point relative to the coordinate system of the object - java.awt.Point

returns: true if object contains Point; otherwise false - boolean

Checks whether the specified point is within this object's bounds,
 where the point's x and y coordinates are defined to be relative to the
 coordinate system of the object.

p - the Point relative to the coordinate system of the object - `java.awt.Point`

returns: true if object contains Point; otherwise false - `boolean`
raw docstring

enabled?clj

(enabled? this)

Determines if the object is enabled. Objects that are enabled will also have the AccessibleState.ENABLED state set in their AccessibleStateSets.

returns: true if object is enabled; otherwise, false - boolean

Determines if the object is enabled.  Objects that are enabled
 will also have the AccessibleState.ENABLED state set in their
 AccessibleStateSets.

returns: true if object is enabled; otherwise, false - `boolean`
raw docstring

focus-traversable?clj

(focus-traversable? this)

Returns whether this object can accept focus or not. Objects that can accept focus will also have the AccessibleState.FOCUSABLE state set in their AccessibleStateSets.

returns: true if object can accept focus; otherwise false - boolean

Returns whether this object can accept focus or not.   Objects that
 can accept focus will also have the AccessibleState.FOCUSABLE state
 set in their AccessibleStateSets.

returns: true if object can accept focus; otherwise false - `boolean`
raw docstring

get-accessible-atclj

(get-accessible-at this p)

Returns the Accessible child, if one exists, contained at the local coordinate Point.

p - The point relative to the coordinate system of this object. - java.awt.Point

returns: the Accessible, if it exists, at the specified location; otherwise null - javax.accessibility.Accessible

Returns the Accessible child, if one exists, contained at the local
 coordinate Point.

p - The point relative to the coordinate system of this object. - `java.awt.Point`

returns: the Accessible, if it exists, at the specified location;
 otherwise null - `javax.accessibility.Accessible`
raw docstring

get-backgroundclj

(get-background this)

Gets the background color of this object.

returns: the background color, if supported, of the object; otherwise, null - java.awt.Color

Gets the background color of this object.

returns: the background color, if supported, of the object;
 otherwise, null - `java.awt.Color`
raw docstring

get-boundsclj

(get-bounds this)

Gets the bounds of this object in the form of a Rectangle object. The bounds specify this object's width, height, and location relative to its parent.

returns: A rectangle indicating this component's bounds; null if this object is not on the screen. - java.awt.Rectangle

Gets the bounds of this object in the form of a Rectangle object.
 The bounds specify this object's width, height, and location
 relative to its parent.

returns: A rectangle indicating this component's bounds; null if
 this object is not on the screen. - `java.awt.Rectangle`
raw docstring

get-cursorclj

(get-cursor this)

Gets the Cursor of this object.

returns: the Cursor, if supported, of the object; otherwise, null - java.awt.Cursor

Gets the Cursor of this object.

returns: the Cursor, if supported, of the object; otherwise, null - `java.awt.Cursor`
raw docstring

get-fontclj

(get-font this)

Gets the Font of this object.

returns: the Font,if supported, for the object; otherwise, null - java.awt.Font

Gets the Font of this object.

returns: the Font,if supported, for the object; otherwise, null - `java.awt.Font`
raw docstring

get-font-metricsclj

(get-font-metrics this f)

Gets the FontMetrics of this object.

f - the Font - java.awt.Font

returns: the FontMetrics, if supported, the object; otherwise, null - java.awt.FontMetrics

Gets the FontMetrics of this object.

f - the Font - `java.awt.Font`

returns: the FontMetrics, if supported, the object; otherwise, null - `java.awt.FontMetrics`
raw docstring

get-foregroundclj

(get-foreground this)

Gets the foreground color of this object.

returns: the foreground color, if supported, of the object; otherwise, null - java.awt.Color

Gets the foreground color of this object.

returns: the foreground color, if supported, of the object;
 otherwise, null - `java.awt.Color`
raw docstring

get-locationclj

(get-location this)

Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.

returns: An instance of Point representing the top-left corner of the object's bounds in the coordinate space of the screen; null if this object or its parent are not on the screen - java.awt.Point

Gets the location of the object relative to the parent in the form
 of a point specifying the object's top-left corner in the screen's
 coordinate space.

returns: An instance of Point representing the top-left corner of the
 object's bounds in the coordinate space of the screen; null if
 this object or its parent are not on the screen - `java.awt.Point`
raw docstring

get-location-on-screenclj

(get-location-on-screen this)

Returns the location of the object on the screen.

returns: the location of the object on screen; null if this object is not on the screen - java.awt.Point

Returns the location of the object on the screen.

returns: the location of the object on screen; null if this object
 is not on the screen - `java.awt.Point`
raw docstring

get-sizeclj

(get-size this)

Returns the size of this object in the form of a Dimension object. The height field of the Dimension object contains this object's height, and the width field of the Dimension object contains this object's width.

returns: A Dimension object that indicates the size of this component; null if this object is not on the screen - java.awt.Dimension

Returns the size of this object in the form of a Dimension object.
 The height field of the Dimension object contains this object's
 height, and the width field of the Dimension object contains this
 object's width.

returns: A Dimension object that indicates the size of this component;
 null if this object is not on the screen - `java.awt.Dimension`
raw docstring

remove-focus-listenerclj

(remove-focus-listener this l)

Removes the specified focus listener so it no longer receives focus events from this component.

l - the focus listener - java.awt.event.FocusListener

Removes the specified focus listener so it no longer receives focus
 events from this component.

l - the focus listener - `java.awt.event.FocusListener`
raw docstring

request-focusclj

(request-focus this)

Requests focus for this object. If this object cannot accept focus, nothing will happen. Otherwise, the object will attempt to take focus.

Requests focus for this object.  If this object cannot accept focus,
nothing will happen.  Otherwise, the object will attempt to take
focus.
raw docstring

set-backgroundclj

(set-background this c)

Sets the background color of this object.

c - the new Color for the background - java.awt.Color

Sets the background color of this object.

c - the new Color for the background - `java.awt.Color`
raw docstring

set-boundsclj

(set-bounds this r)

Sets the bounds of this object in the form of a Rectangle object. The bounds specify this object's width, height, and location relative to its parent.

r - rectangle indicating this component's bounds - java.awt.Rectangle

Sets the bounds of this object in the form of a Rectangle object.
 The bounds specify this object's width, height, and location
 relative to its parent.

r - rectangle indicating this component's bounds - `java.awt.Rectangle`
raw docstring

set-cursorclj

(set-cursor this cursor)

Sets the Cursor of this object.

cursor - the new Cursor for the object - java.awt.Cursor

Sets the Cursor of this object.

cursor - the new Cursor for the object - `java.awt.Cursor`
raw docstring

set-enabledclj

(set-enabled this b)

Sets the enabled state of the object.

b - if true, enables this object; otherwise, disables it - boolean

Sets the enabled state of the object.

b - if true, enables this object; otherwise, disables it - `boolean`
raw docstring

set-fontclj

(set-font this f)

Sets the Font of this object.

f - the new Font for the object - java.awt.Font

Sets the Font of this object.

f - the new Font for the object - `java.awt.Font`
raw docstring

set-foregroundclj

(set-foreground this c)

Sets the foreground color of this object.

c - the new Color for the foreground - java.awt.Color

Sets the foreground color of this object.

c - the new Color for the foreground - `java.awt.Color`
raw docstring

set-locationclj

(set-location this p)

Sets the location of the object relative to the parent.

p - the new position for the top-left corner - java.awt.Point

Sets the location of the object relative to the parent.

p - the new position for the top-left corner - `java.awt.Point`
raw docstring

set-sizeclj

(set-size this d)

Resizes this object so that it has width and height.

d - The dimension specifying the new size of the object. - java.awt.Dimension

Resizes this object so that it has width and height.

d - The dimension specifying the new size of the object. - `java.awt.Dimension`
raw docstring

set-visibleclj

(set-visible this b)

Sets the visible state of the object.

b - if true, shows this object; otherwise, hides it - boolean

Sets the visible state of the object.

b - if true, shows this object; otherwise, hides it - `boolean`
raw docstring

showing?clj

(showing? this)

Determines if the object is showing. This is determined by checking the visibility of the object and its ancestors. Note: this will return true even if the object is obscured by another (for example, it is underneath a menu that was pulled down).

returns: true if object is showing; otherwise, false - boolean

Determines if the object is showing.  This is determined by checking
 the visibility of the object and its ancestors.
 Note: this
 will return true even if the object is obscured by another (for example,
 it is underneath a menu that was pulled down).

returns: true if object is showing; otherwise, false - `boolean`
raw docstring

visible?clj

(visible? this)

Determines if the object is visible. Note: this means that the object intends to be visible; however, it may not be showing on the screen because one of the objects that this object is contained by is currently not visible. To determine if an object is showing on the screen, use isShowing(). Objects that are visible will also have the AccessibleState.VISIBLE state set in their AccessibleStateSets.

returns: true if object is visible; otherwise, false - boolean

Determines if the object is visible.  Note: this means that the
 object intends to be visible; however, it may not be
 showing on the screen because one of the objects that this object
 is contained by is currently not visible.  To determine if an object is
 showing on the screen, use isShowing().
 Objects that are visible will also have the
 AccessibleState.VISIBLE state set in their AccessibleStateSets.

returns: true if object is visible; otherwise, false - `boolean`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close