|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.vecmath.Tuple3f
javax.vecmath.Color3f
de.grogra.math.RGBColor
public class RGBColor
Field Summary | |
---|---|
static ManageableType |
$TYPE
|
static RGBColor |
BLACK
RGBColor whose color is Color.BLACK . |
static RGBColor |
BLUE
RGBColor whose color is Color.BLUE . |
static RGBColor |
CYAN
RGBColor whose color is Color.CYAN . |
static RGBColor |
DARK_GRAY
RGBColor whose color is Color.DARK_GRAY . |
static RGBColor |
GRAY
RGBColor whose color is Color.GRAY . |
static RGBColor |
GREEN
RGBColor whose color is Color.GREEN . |
static RGBColor |
LIGHT_GRAY
RGBColor whose color is Color.LIGHT_GRAY . |
static RGBColor |
MAGENTA
RGBColor whose color is Color.MAGENTA . |
static RGBColor |
ORANGE
RGBColor whose color is Color.ORANGE . |
static RGBColor |
PINK
RGBColor whose color is Color.PINK . |
static RGBColor |
RED
RGBColor whose color is Color.RED . |
static RGBColor |
WHITE
RGBColor whose color is Color.WHITE . |
static RGBColor |
YELLOW
RGBColor whose color is Color.YELLOW . |
Fields inherited from class javax.vecmath.Tuple3f |
---|
x, y, z |
Fields inherited from interface de.grogra.icon.Icon |
---|
DEFAULT, DISABLED |
Constructor Summary | |
---|---|
RGBColor()
|
|
RGBColor(float red,
float green,
float blue)
|
|
RGBColor(Tuple3f color)
|
Method Summary | |
---|---|
void |
accept(ChannelMapVisitor visitor)
|
void |
addReference(SharedObjectReference ref)
|
void |
appendReferencesTo(java.util.List out)
|
java.lang.Object |
clone()
|
void |
fieldModified(PersistenceField field,
int[] indices,
Transaction t)
|
int |
getAverageColor()
|
float |
getFloatValue(ChannelData data,
int channel)
|
Icon |
getIcon(java.awt.Dimension size,
int state)
|
java.awt.Rectangle |
getIconBounds()
|
IconSource |
getIconSource()
|
java.awt.Image |
getImage()
|
java.awt.Image |
getImage(int w,
int h)
|
java.net.URL |
getImageSource()
|
ManageableType |
getManageableType()
|
java.lang.Object |
getObjectValue(ChannelData data,
int channel)
|
java.awt.Dimension |
getPreferredIconSize(boolean small)
|
SharedObjectProvider |
getProvider()
|
int |
getStamp()
Returns a stamp for this object. |
void |
initProvider(SharedObjectProvider provider)
|
boolean |
isMutable()
|
boolean |
isPredefined()
|
Manageable |
manageableReadResolve()
|
java.lang.Object |
manageableWriteReplace()
|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics2D g,
int x,
int y,
int w,
int h,
int state)
|
void |
prepareIcon()
|
void |
removeReference(SharedObjectReference ref)
|
Methods inherited from class javax.vecmath.Color3f |
---|
get, set |
Methods inherited from class javax.vecmath.Tuple3f |
---|
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, epsilonEquals, equals, equals, get, get, hashCode, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, set, sub, sub, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ManageableType $TYPE
public static final RGBColor BLACK
RGBColor
whose color is Color.BLACK
.
public static final RGBColor BLUE
RGBColor
whose color is Color.BLUE
.
public static final RGBColor CYAN
RGBColor
whose color is Color.CYAN
.
public static final RGBColor DARK_GRAY
RGBColor
whose color is Color.DARK_GRAY
.
public static final RGBColor GRAY
RGBColor
whose color is Color.GRAY
.
public static final RGBColor GREEN
RGBColor
whose color is Color.GREEN
.
public static final RGBColor LIGHT_GRAY
RGBColor
whose color is Color.LIGHT_GRAY
.
public static final RGBColor MAGENTA
RGBColor
whose color is Color.MAGENTA
.
public static final RGBColor ORANGE
RGBColor
whose color is Color.ORANGE
.
public static final RGBColor PINK
RGBColor
whose color is Color.PINK
.
public static final RGBColor RED
RGBColor
whose color is Color.RED
.
public static final RGBColor WHITE
RGBColor
whose color is Color.WHITE
.
public static final RGBColor YELLOW
RGBColor
whose color is Color.YELLOW
.
Constructor Detail |
---|
public RGBColor()
public RGBColor(float red, float green, float blue)
public RGBColor(Tuple3f color)
Method Detail |
---|
public void accept(ChannelMapVisitor visitor)
accept
in interface ChannelMap
public void addReference(SharedObjectReference ref)
addReference
in interface Shareable
public void appendReferencesTo(java.util.List out)
appendReferencesTo
in interface Shareable
public java.lang.Object clone()
clone
in class Color3f
public void fieldModified(PersistenceField field, int[] indices, Transaction t)
fieldModified
in interface Manageable
public int getAverageColor()
getAverageColor
in interface ColorMap
public float getFloatValue(ChannelData data, int channel)
getFloatValue
in interface ChannelMap
public Icon getIcon(java.awt.Dimension size, int state)
getIcon
in interface IconSource
public java.awt.Rectangle getIconBounds()
getIconBounds
in interface Icon
public IconSource getIconSource()
getIconSource
in interface Icon
public java.awt.Image getImage()
getImage
in interface Icon
public java.awt.Image getImage(int w, int h)
getImage
in interface Icon
public java.net.URL getImageSource()
getImageSource
in interface Icon
public ManageableType getManageableType()
getManageableType
in interface Manageable
public java.lang.Object getObjectValue(ChannelData data, int channel)
getObjectValue
in interface ChannelMap
public java.awt.Dimension getPreferredIconSize(boolean small)
getPreferredIconSize
in interface IconSource
public SharedObjectProvider getProvider()
getProvider
in interface Shareable
public int getStamp()
Manageable
getStamp
in interface ChannelMap
getStamp
in interface Manageable
public void initProvider(SharedObjectProvider provider)
initProvider
in interface Shareable
public boolean isMutable()
isMutable
in interface Icon
public boolean isPredefined()
public Manageable manageableReadResolve()
manageableReadResolve
in interface Manageable
public java.lang.Object manageableWriteReplace()
manageableWriteReplace
in interface Manageable
public void paintIcon(java.awt.Component c, java.awt.Graphics2D g, int x, int y, int w, int h, int state)
paintIcon
in interface Icon
public void prepareIcon()
prepareIcon
in interface Icon
public void removeReference(SharedObjectReference ref)
removeReference
in interface Shareable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |