public interface ColorTableResource extends CommonHandle, InstantiatingProcedure, NumEntries
COLOR-TABLE attribute or method | API |
---|---|
GET-RED-VALUE | getRedValue(com.goldencode.p2j.util.int64) |
SET-RED-VALUE | setRedValue(com.goldencode.p2j.util.int64, com.goldencode.p2j.util.int64) |
GET-GREEN-VALUE | getGreenValue(com.goldencode.p2j.util.int64) |
SET-GREEN-VALUE | setGreenValue(com.goldencode.p2j.util.int64, com.goldencode.p2j.util.int64) |
GET-BLUE-VALUE | getBlueValue(com.goldencode.p2j.util.int64) |
SET-BLUE-VALUE | setBlueValue(com.goldencode.p2j.util.int64, com.goldencode.p2j.util.int64) |
GET-RGB-VALUE | getRgbValue(com.goldencode.p2j.util.int64) |
SET-RGB-VALUE | setRgbValue(com.goldencode.p2j.util.int64, com.goldencode.p2j.util.int64) |
GET-DYNAMIC | getDynamic(com.goldencode.p2j.util.int64) |
SET-DYNAMIC | setDynamic(com.goldencode.p2j.util.int64, com.goldencode.p2j.util.logical) |
handle.unwrapColorTable()
API, which, depending on the
handle's state, it either returns an ColorTable.asHandle()
instance or a dynamic proxy using handle.invalidAttrAccessProxy
IMPORTANT: The index of an entry in color table is 0 based.
Modifier and Type | Method and Description |
---|---|
integer |
getBlueValue(int64 index)
Returns the blue component of an entry in the color table.
|
integer |
getBlueValue(long index)
Returns the blue component of an entry in the color table.
|
logical |
getDynamic(int64 index)
Returns TRUE if the entry in the color table is a dynamic color.
|
logical |
getDynamic(long index)
Returns TRUE if the entry in the color table is a dynamic color.
|
integer |
getGreenValue(int64 index)
Returns the green component of an entry in the color table.
|
integer |
getGreenValue(long index)
Returns the green component of an entry in the color table.
|
integer |
getRedValue(int64 index)
Returns the red component of an entry in the color table.
|
integer |
getRedValue(long index)
Returns the red component of an entry in the color table.
|
integer |
getRgbValue(int64 index)
Returns an integer that represents a combination of the red, green, and blue
values of an entry in the color table.
|
integer |
getRgbValue(long index)
Returns an integer that represents a combination of the red, green, and blue
values of an entry in the color table.
|
logical |
setBlueValue(int64 index,
int64 blueValue)
Specifies the blue component of an entry in the color table.
|
logical |
setBlueValue(int64 index,
long blueValue)
Specifies the blue component of an entry in the color table.
|
logical |
setBlueValue(long index,
int64 blueValue)
Specifies the blue component of an entry in the color table.
|
logical |
setBlueValue(long index,
long blueValue)
Specifies the blue component of an entry in the color table.
|
logical |
setDynamic(int64 index,
boolean dynamic)
Sets a color entry to a dynamic or static color.
|
logical |
setDynamic(int64 index,
logical dynamic)
Sets a color entry to a dynamic or static color.
|
logical |
setDynamic(long index,
boolean dynamic)
Sets a color entry to a dynamic or static color.
|
logical |
setDynamic(long index,
logical dynamic)
Sets a color entry to a dynamic or static color.
|
logical |
setGreenValue(int64 index,
int64 greenValue)
Specifies the green component of an entry in the color table.
|
logical |
setGreenValue(int64 index,
long greenValue)
Specifies the green component of an entry in the color table.
|
logical |
setGreenValue(long index,
int64 greenValue)
Specifies the green component of an entry in the color table.
|
logical |
setGreenValue(long index,
long greenValue)
Specifies the green component of an entry in the color table.
|
logical |
setRedValue(int64 index,
int64 redValue)
Specifies the red component of an entry in the color table.
|
logical |
setRedValue(int64 index,
long redValue)
Specifies the red component of an entry in the color table.
|
logical |
setRedValue(long index,
int64 redValue)
Specifies the red component of an entry in the color table.
|
logical |
setRedValue(long index,
long redValue)
Specifies the red component of an entry in the color table.
|
logical |
setRgbValue(int64 index,
int64 rgbValue)
Specifies a combination of the red, green, and blue values of an entry in the color table.
|
logical |
setRgbValue(int64 index,
long rgbValue)
Specifies a combination of the red, green, and blue values of an entry in the color table.
|
logical |
setRgbValue(long index,
int64 rgbValue)
Specifies a combination of the red, green, and blue values of an entry in the color table.
|
logical |
setRgbValue(long index,
long rgbValue)
Specifies a combination of the red, green, and blue values of an entry in the color table.
|
getResourceType, readOnlyError
id, id, unknown, valid
instantiatingProcedure
getNumEntries, setNumEntries, setNumEntries
integer getRedValue(int64 index)
index
- An integer expression that specifies an entry in the color table.integer getRedValue(long index)
index
- An integer expression that specifies an entry in the color table.logical setRedValue(int64 index, int64 redValue)
index
- An integer expression that specifies an entry in the color table.redValue
- An integer expression that specifies the red RGB component of an entry in the
color table. The value must be in the range 0 to 255.logical setRedValue(int64 index, long redValue)
index
- An integer expression that specifies an entry in the color table.redValue
- An integer expression that specifies the red RGB component of an entry in the
color table. The value must be in the range 0 to 255.logical setRedValue(long index, int64 redValue)
index
- An integer expression that specifies an entry in the color table.redValue
- An integer expression that specifies the red RGB component of an entry in the
color table. The value must be in the range 0 to 255.logical setRedValue(long index, long redValue)
index
- An integer expression that specifies an entry in the color table.redValue
- An integer expression that specifies the red RGB component of an entry in the
color table. The value must be in the range 0 to 255.integer getGreenValue(int64 index)
index
- An integer expression that specifies an entry in the color table.integer getGreenValue(long index)
index
- An integer expression that specifies an entry in the color table.logical setGreenValue(int64 index, int64 greenValue)
index
- An integer expression that specifies an entry in the color table.greenValue
- An integer expression that specifies the green RGB component of an entry in the
color table. The value must be in the range 0 to 255.logical setGreenValue(int64 index, long greenValue)
index
- An integer expression that specifies an entry in the color table.greenValue
- An integer expression that specifies the green RGB component of an entry in the
color table. The value must be in the range 0 to 255.logical setGreenValue(long index, int64 greenValue)
index
- An integer expression that specifies an entry in the color table.greenValue
- An integer expression that specifies the green RGB component of an entry in the
color table. The value must be in the range 0 to 255.logical setGreenValue(long index, long greenValue)
index
- An integer expression that specifies an entry in the color table.greenValue
- An integer expression that specifies the green RGB component of an entry in the
color table. The value must be in the range 0 to 255.integer getBlueValue(int64 index)
index
- An integer expression that specifies an entry in the color table.integer getBlueValue(long index)
index
- An integer expression that specifies an entry in the color table.logical setBlueValue(int64 index, int64 blueValue)
index
- An integer expression that specifies an entry in the color table.blueValue
- An integer expression that specifies the blue RGB component of an entry in the
color table. The value must be in the range 0 to 255.logical setBlueValue(int64 index, long blueValue)
index
- An integer expression that specifies an entry in the color table.blueValue
- An integer expression that specifies the blue RGB component of an entry in the
color table. The value must be in the range 0 to 255.logical setBlueValue(long index, int64 blueValue)
index
- An integer expression that specifies an entry in the color table.blueValue
- An integer expression that specifies the blue RGB component of an entry in the
color table. The value must be in the range 0 to 255.logical setBlueValue(long index, long blueValue)
index
- An integer expression that specifies an entry in the color table.blueValue
- An integer expression that specifies the blue RGB component of an entry in the
color table. The value must be in the range 0 to 255.integer getRgbValue(int64 index)
index
- An integer expression that specifies an entry in the color table.integer getRgbValue(long index)
index
- An integer expression that specifies an entry in the color table.logical setRgbValue(int64 index, int64 rgbValue)
index
- An integer expression that specifies an entry in the color table.rgbValue
- An integer expression that specifies the RGB component of an entry in the color
table. You can obtain this value from the color property of an ActiveX control,
by using the RGB-VALUE function, or by using the GET-RGB-VALUE() method.logical setRgbValue(int64 index, long rgbValue)
index
- An integer expression that specifies an entry in the color table.rgbValue
- An integer expression that specifies the RGB component of an entry in the color
table. You can obtain this value from the color property of an ActiveX control,
by using the RGB-VALUE function, or by using the GET-RGB-VALUE() method.logical setRgbValue(long index, int64 rgbValue)
index
- An integer expression that specifies an entry in the color table.rgbValue
- An integer expression that specifies the RGB component of an entry in the color
table. You can obtain this value from the color property of an ActiveX control,
by using the RGB-VALUE function, or by using the GET-RGB-VALUE() method.logical setRgbValue(long index, long rgbValue)
index
- An integer expression that specifies an entry in the color table.rgbValue
- An integer expression that specifies the RGB component of an entry in the color
table. You can obtain this value from the color property of an ActiveX control,
by using the RGB-VALUE function, or by using the GET-RGB-VALUE() method.logical getDynamic(int64 index)
index
- An integer expression that specifies an entry in the color table.logical getDynamic(long index)
index
- An integer expression that specifies an entry in the color table.logical setDynamic(int64 index, logical dynamic)
index
- An integer expression that specifies an entry in the color table.dynamic
- Logical expression that specifies the dynamic status of an entry in the color
table. If dynamic is TRUE sets the entry to a dynamic color and sets the entry
to a static color if dynamic is FALSE.logical setDynamic(int64 index, boolean dynamic)
index
- An integer expression that specifies an entry in the color table.dynamic
- Logical expression that specifies the dynamic status of an entry in the color
table. If dynamic is TRUE sets the entry to a dynamic color and sets the entry
to a static color if dynamic is FALSE.logical setDynamic(long index, logical dynamic)
index
- An integer expression that specifies an entry in the color table.dynamic
- Logical expression that specifies the dynamic status of an entry in the color
table. If dynamic is TRUE sets the entry to a dynamic color and sets the entry
to a static color if dynamic is FALSE.logical setDynamic(long index, boolean dynamic)
index
- An integer expression that specifies an entry in the color table.dynamic
- Logical expression that specifies the dynamic status of an entry in the color
table. If dynamic is TRUE sets the entry to a dynamic color and sets the entry
to a static color if dynamic is FALSE.