Package com.iizix.prop.image
Interface IImageStyle
- All Known Implementing Classes:
EditorImagesStyle
,EditorImageStyle
,EditorImageStyleLocation
,ImagesStyle
,ImageStyle
,ImageStyleLocation
public interface IImageStyle
Style interface for images with styles.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description static int
IT_capture
Bit value in the mask: mouse capture.static int
IT_disable
Bit value in the mask: disabled.static int
IT_focus
Bit value in the mask: focus.static int
IT_hover
Bit value in the mask: hover.static int
IT_press
Bit value in the mask: press.static int
IT_rtl
Bit value in the mask: RTL.static int
IT_select
Bit value in the mask: selected.static java.lang.String[]
TYPES
Type strings for individual values.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMatchMasks()
Gets the mask values for matching.
Field Detail
IT_rtl
static final int IT_rtl
Bit value in the mask: RTL.- See Also:
- Constant Field Values
IT_disable
static final int IT_disable
Bit value in the mask: disabled.- See Also:
- Constant Field Values
IT_press
static final int IT_press
Bit value in the mask: press.- See Also:
- Constant Field Values
IT_select
static final int IT_select
Bit value in the mask: selected.- See Also:
- Constant Field Values
IT_focus
static final int IT_focus
Bit value in the mask: focus.- See Also:
- Constant Field Values
IT_hover
static final int IT_hover
Bit value in the mask: hover.- See Also:
- Constant Field Values
IT_capture
static final int IT_capture
Bit value in the mask: mouse capture.- See Also:
- Constant Field Values
TYPES
static final java.lang.String[] TYPES
Type strings for individual values.
Method Detail
getMatchMasks
int getMatchMasks()
Gets the mask values for matching.The mask consists of two values in a single integer as:
- Define mask: 0x0000-0x007F (in low byte).
- Set mask : 0x0000-0x7F00 (in high byte shifted up 8 bits)..
The values
IT_*
are:- 0x01 rtl (right-to-left)
- 0x02 disable
- 0x04 press
- 0x08 select
- 0x10 focus
- 0x20 hover
- 0x40 capture
- Returns:
- -1 If it's the default default image, i.e. matching everything.