Interface PropertyKey
- 
- All Superinterfaces:
- Key
 - All Known Subinterfaces:
- AnnotationId,- AxisType,- DataLabelId,- LabelId,- ScaleId
 - All Known Implementing Classes:
- ChartAxisType,- DefaultScaleId
 
 public interface PropertyKey extends Key Represents the key of property of a java-script object.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryStatic 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- 
isValidstatic 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 not- nulland its value could be a valid property key.
 
 - 
isValidstatic 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 not- nulland its value is not- nullas well and could be a valid property key.
 
 - 
checkIfValidstatic 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
 
 - 
checkIfValidstatic 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
 
 
- 
 
-