java.lang.Object
de.gurkenlabs.litiengine.environment.tilemap.xml.CustomProperty
All Implemented Interfaces:
ICustomProperty

public class CustomProperty
extends java.lang.Object
implements ICustomProperty
  • Constructor Summary

    Constructors 
    ConstructorDescription
    CustomProperty()
    Instantiates a new CustomProperty instance.
    CustomProperty​(ICustomProperty propertyToBeCopied)
    Instantiates a new CustomProperty instance by copying from the specified instance.
    CustomProperty​(java.lang.String value)
    Instantiates a new CustomProperty instance.
    CustomProperty​(java.lang.String type, java.lang.String value)
    Instantiates a new CustomProperty instance.
    CustomProperty​(java.net.URL location)
    Instantiates a new CustomProperty instance.
  • Method Summary

    Modifier and TypeMethodDescription
    booleanequals​(java.lang.Object anObject)
    Tests for equality between two custom properties.
    booleangetAsBool() 
    bytegetAsByte() 
    chargetAsChar() 
    java.awt.ColorgetAsColor() 
    doublegetAsDouble() 
    <T extends java.lang.Enum<T>>
    T
    getAsEnum​(java.lang.Class<T> enumType) 
    java.net.URLgetAsFile() 
    floatgetAsFloat() 
    intgetAsInt() 
    longgetAsLong() 
    shortgetAsShort() 
    java.lang.StringgetAsString() 
    java.lang.StringgetType() 
    inthashCode()
    Returns the hash code for this custom property.
    voidsetType​(java.lang.String type) 
    voidsetValue​(boolean value) 
    voidsetValue​(char value) 
    voidsetValue​(double value) 
    voidsetValue​(long value) 
    voidsetValue​(java.awt.Color value) 
    voidsetValue​(java.lang.Enum<?> value) 
    voidsetValue​(java.lang.String value) 
    voidsetValue​(java.net.URL location) 
    java.lang.StringtoString() 

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait