com.jniwrapper.win32.ole.types
Class ControlInfo
java.lang.Object
com.jniwrapper.Parameter
com.jniwrapper.Structure
com.jniwrapper.win32.ole.types.ControlInfo
- All Implemented Interfaces:
- AlignmentAwareParameter, CompositeParameter
- public class ControlInfo
- extends Structure
This structure describes a control's keyboard mnemonics and keyboard behavior
and corresponds to CONTROLINFO
native structure.
- See Also:
- Microsoft
COM SDK documentation
Field Summary |
static int |
CTRLINFO_EATS_ESCAPE
When the control has the focus, it will process the Escape key. |
static int |
CTRLINFO_EATS_RETURN
When the control has the focus, it will process the Return key. |
Fields inherited from class com.jniwrapper.Structure |
f |
Methods inherited from class com.jniwrapper.Structure |
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write |
Methods inherited from class com.jniwrapper.Parameter |
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CTRLINFO_EATS_RETURN
public static final int CTRLINFO_EATS_RETURN
- When the control has the focus, it will process the Return key.
- See Also:
- Constant Field Values
CTRLINFO_EATS_ESCAPE
public static final int CTRLINFO_EATS_ESCAPE
- When the control has the focus, it will process the Escape key.
- See Also:
- Constant Field Values
ControlInfo
public ControlInfo()
ControlInfo
public ControlInfo(ControlInfo that)
getSize
public int getSize()
getAccelHandle
public int getAccelHandle()
- Returns:
- handle to
ACCEL
structures.
getNumAccels
public short getNumAccels()
- Returns:
- Number of mnemonics of the control.
getFlags
public UInt32 getFlags()
- Return flags that indicate the keyboard behavior of the control. The
possible values are:
CTRLINFO_EATS_RETURN
and
CTRLINFO_EATS_ESCAPE
- Returns:
- one of the
CTRLINFO_xxx
flags.
clone
public java.lang.Object clone()