| Package | org.aswing.colorchooser |
| Class | public class PreviewColorIcon |
| Implements | Icon |
| Method | Defined by | ||
|---|---|---|---|
|
PreviewColorIcon(width:int, height:int, orientation:int)
| PreviewColorIcon | ||
| PreviewColorIcon | |||
|
getDisplay(c:Component):DisplayObject
| PreviewColorIcon | ||
|
getIconHeight(c:Component):int
| PreviewColorIcon | ||
|
getIconWidth(c:Component):int
| PreviewColorIcon | ||
|
getOrientation():int
| PreviewColorIcon | ||
| PreviewColorIcon | |||
| PreviewColorIcon | |||
|
setCurrentColor(c:ASColor):void
| PreviewColorIcon | ||
|
setOrientation(o:int):void
| PreviewColorIcon | ||
|
setPreviousColor(c:ASColor):void
| PreviewColorIcon | ||
| PreviewColorIcon | |||
| Constant | Defined by | ||
|---|---|---|---|
| HORIZONTAL : int = 0 [static]
Horizontal orientation.
| PreviewColorIcon | ||
| VERTICAL : int = 1 [static]
Vertical orientation.
| PreviewColorIcon | ||
| PreviewColorIcon | () | constructor |
public function PreviewColorIcon(width:int, height:int, orientation:int)Parameters
width:int |
|
height:int |
|
orientation:int |
| getCurrentColor | () | method |
| getDisplay | () | method |
| getIconHeight | () | method |
| getIconWidth | () | method |
| getOrientation | () | method |
public function getOrientation():int
Returns
int |
| getPreviousColor | () | method |
| setColor | () | method |
| setCurrentColor | () | method |
| setOrientation | () | method |
public function setOrientation(o:int):voidParameters
o:int |
| setPreviousColor | () | method |
| updateIcon | () | method |
public function updateIcon(com:Component, g:Graphics2D, x:int, y:int):voidParameters
com:Component |
|
g:Graphics2D |
|
x:int |
|
y:int |
| HORIZONTAL | constant |
public static const HORIZONTAL:int = 0Horizontal orientation.
| VERTICAL | constant |
public static const VERTICAL:int = 1Vertical orientation.