Interface ICustomProperty
- All Known Implementing Classes:
CustomProperty
public interface ICustomProperty
Represents a custom property on a map element.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTests for equality between two custom properties.booleanbytechardouble<T extends Enum<T>>
TfloatintgetAsInt()longshortgetType()inthashCode()Returns the hash code for this custom property.voidvoidsetValue(boolean value) voidsetValue(char value) voidsetValue(double value) voidsetValue(long value) voidvoidvoidvoid
-
Method Details
-
setValue
-
setValue
-
setValue
void setValue(char value) -
setValue
-
setValue
void setValue(long value) -
setValue
void setValue(double value) -
setValue
void setValue(boolean value) -
setValue
-
getAsString
String getAsString() -
getAsChar
char getAsChar() -
getAsBool
boolean getAsBool() -
getAsColor
Color getAsColor() -
getAsFloat
float getAsFloat() -
getAsDouble
double getAsDouble() -
getAsByte
byte getAsByte() -
getAsShort
short getAsShort() -
getAsInt
int getAsInt() -
getAsLong
long getAsLong() -
getAsEnum
-
getAsFile
URL getAsFile() -
getType
String getType() -
setType
-
equals
Tests for equality between two custom properties. Two custom properties are equal if they both have the same type and string value. -
hashCode
int hashCode()Returns the hash code for this custom property. The hash code for a custom property is equal to its type's hash code times 31 plus its value's hash code.
-