Key |
Value |
java.awt.AlphaComposite.SRC_OVER.isRestricted |
"true"
if and only
if AlphaComposite.SRC_OVER
is restricted |
java.awt.Graphics2D.setStroke.BasicStroke.isRestricted |
"true"
if and only if the use of BasicStroke
is restricted in Graphics2D.setStroke(). |
java.awt.event.MouseEvent.isRestricted |
"true"
if and only if MouseEvent
is
restricted |
java.awt.event.MouseEvent.supportLevel |
Level of support
for MouseEvent ,
if restricted; undefined
otherwise |
java.awt.event.KeyEvent.isRestricted | "true"
if and only if KeyEvent
is restricted |
java.awt.event.KeyEvent.supportMask |
Mask describing
KeyEvent support,
if restricted; undefined
otherwise |
Boolean.getBoolean()
in accessing the above properties for upward-compatibility to J2SE.
Any
property value other than "true", including undefined,
shall therefore
be interpreted as the boolean false
.
Support
Level |
Mouse
Events Generated |
0 |
No
mouse events generated |
1 |
MOUSE_CLICKED,
MOUSE_PRESSED, MOUSE_RELEASED, |
2 |
All
the events of level 1, plus MOUSE_MOVED |
MOUSE_WHEEL
may be generated by the implementation irrespective of the value of java.awt.event.MouseEvent.supportLevel.
true
,
then the property java.awt.event.KeyEvent.supportMask
is a mask value that reports the type of key events generated by the
implementation, as described below:Support
Mask |
Key
Events Generated |
1 |
VK_LEFT
and VK_RIGHT |
2 |
VK_UP
and VK_DOWN |
4 |
VK_0
through VK_9 |
8 |
VK_A through
VK_Z , VK_SPACE
and VK_BACK_SPACE |
VK_ENTER
is supported in addition to the other key events. Note that
other key events may be generated in addition to those described by the
support mask.Key |
Value |
java.awt.Component.setCursor.isRestricted |
"true"
if the cursor image cannot be changed for any Component |
java.awt.Frame.setLocation.isRestricted |
"true "
if Frame location is limited to a single value |
java.awt.Frame.setResizable.isRestricted |
"true"
if Frame resizability may not be changed |
java.awt.Frame.setSize.isRestricted |
"true"
if Frame size is limited to a single value |
java.awt.Frame.setTitle.isRestricted |
"true" if Frame titles may not be
changed |
java.awt.Frame.setUndecorated.isRestricted |
"true"
if Frame decorations may not be changed |