Interface PropertyKey
- 
- All Superinterfaces:
 Key
- All Known Subinterfaces:
 AnnotationId,AxisType,DataLabelId,LabelId,ScaleId
- All Known Implementing Classes:
 ChartAxisType,DefaultScaleId,StandardAxisType,StandardScaleId
public interface PropertyKey extends Key
Represents the key of property of a java-script object.- Author:
 - Andrea "Stock" Stocchero
 
 
- 
- 
Method Summary
Static Methods Modifier and Type Method Description static voidcheckIfValid(String id)Checks if id passed as argument is notnulland its value is notnullas well and could be a valid property key.
If not, throw aIllegalArgumentException.static voidcheckIfValid(PropertyKey id)Checks if id passed as argument is notnulland its value is notnullas well and could be a valid property key.
If not, throw aIllegalArgumentException.static booleanisValid(String id)Returnstrueif id passed as argument is notnulland its value could be a valid property key.static booleanisValid(PropertyKey id)Returnstrueif id passed as argument is notnulland its value is notnullas well and could be a valid property key. 
 - 
 
- 
- 
Method Detail
- 
isValid
static boolean isValid(String id)
Returnstrueif id passed as argument is notnulland its value could be a valid property key.- Parameters:
 id- id to be checked- Returns:
 trueif id passed as argument is notnulland its value could be a valid property key.
 
- 
isValid
static boolean isValid(PropertyKey id)
Returnstrueif id passed as argument is notnulland its value is notnullas well and could be a valid property key.- Parameters:
 id- id to be checked- Returns:
 trueif id passed as argument is notnulland its value is notnullas well and could be a valid property key.
 
- 
checkIfValid
static void checkIfValid(PropertyKey id)
Checks if id passed as argument is notnulland its value is notnullas well and could be a valid property key.
If not, throw aIllegalArgumentException.- Parameters:
 id- id to be checked
 
- 
checkIfValid
static void checkIfValid(String id)
Checks if id passed as argument is notnulland its value is notnullas well and could be a valid property key.
If not, throw aIllegalArgumentException.- Parameters:
 id- id as string to be checked
 
 - 
 
 -