public interface ColorDefinition extends TaggedObject
ColorDefinition
, which is a representation of one color
on an NX color palette. Each color has an index into the palette, a name, rgb values, and an
optional favorite index.
Modifier and Type | Method and Description |
---|---|
int |
colorIndex()
Returns the color index.
|
String |
colorName()
Returns the color name.
|
int |
favoriteIndex()
Returns the favorite index.
|
ColorDefinitionRgb |
getColorValues()
Gets the color values.
|
void |
setColorIndex(int colorIdx)
License requirements: None. |
void |
setColorName(String colorName)
License requirements: None. |
void |
setColorValues(ColorDefinitionRgb colorVals)
Sets the color values.
|
void |
setFavoriteIndex(int favoriteIdx)
License requirements: None. |
printTestData, printTestData, tag, tagValue
int colorIndex() throws NXException, RemoteException
NXException
RemoteException
void setColorIndex(int colorIdx) throws NXException, RemoteException
colorIdx
- NXException
RemoteException
String colorName() throws NXException, RemoteException
NXException
RemoteException
void setColorName(String colorName) throws NXException, RemoteException
colorName
- NXException
RemoteException
ColorDefinitionRgb getColorValues() throws NXException, RemoteException
NXException
RemoteException
void setColorValues(ColorDefinitionRgb colorVals) throws NXException, RemoteException
colorVals
- NXException
RemoteException
int favoriteIndex() throws NXException, RemoteException
NXException
RemoteException
void setFavoriteIndex(int favoriteIdx) throws NXException, RemoteException
favoriteIdx
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.