public class IlvSelectionUtil extends Object
IlvHandlesSelectionStyle
Constructor and Description |
---|
IlvSelectionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
drawGenericSelection(Graphics g,
int x,
int y,
int width,
int height)
Draws a default selection representation.
|
static void |
drawGenericSelection(Graphics g,
Rectangle r)
Draws a default selection representation.
|
static void |
drawSelectionHandle(Graphics g,
int x,
int y)
Draws a selection handle at the specified coordinates.
|
static IlvHandlesSelectionStyle |
getGlobalHandlesSelectionStyle()
Returns a reference to the global handles selection style used by the
static methods of this class.
|
static IlvMarker |
getHandleMarker()
Returns the
IlvMarker used to draw the selection handles. |
static int |
getHandleSize()
Returns the size of the handle.
|
static IlvStyle |
getHandleStyle()
Returns the current handle style.
|
static IlvStyle |
getSelectionStyle()
Returns the current selection style.
|
static Shape |
getStrokedShape(Shape shape,
IlvStyle style)
Returns the stroked shape of the specified shape drawn with the
given
IlvStyle . |
static void |
setHandleMarker(IlvMarker marker)
Sets the
IlvMarker used to draw the selection handles. |
static void |
setHandleSize(int size)
Sets the size of the handle.
|
static void |
setSelectionStyle(IlvStyle style)
Sets the selection style.
|
public static IlvHandlesSelectionStyle getGlobalHandlesSelectionStyle()
public static void setSelectionStyle(IlvStyle style)
public static IlvStyle getHandleStyle()
public static IlvStyle getSelectionStyle()
public static IlvMarker getHandleMarker()
IlvMarker
used to draw the selection handles.public static void setHandleMarker(IlvMarker marker)
IlvMarker
used to draw the selection handles.public static int getHandleSize()
public static void setHandleSize(int size)
public static void drawSelectionHandle(Graphics g, int x, int y)
public static void drawGenericSelection(Graphics g, Rectangle r)
public static void drawGenericSelection(Graphics g, int x, int y, int width, int height)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.