diff --git a/src/com/t_oster/liblasercut/Customizable.java b/src/com/t_oster/liblasercut/Customizable.java new file mode 100644 index 0000000000000000000000000000000000000000..7391c2ede08a90e75167eb7be74b4efe1c6e31c7 --- /dev/null +++ b/src/com/t_oster/liblasercut/Customizable.java @@ -0,0 +1,26 @@ +package com.t_oster.liblasercut; + +/** + * + * @author thommy + */ +public interface Customizable { + public String[] getPropertyKeys(); + /** + * Sets the property with the given key + * a property may only be of the classes + * Integer, Boolean, Double, Float and String + * and never set to null + * @param key + * @param value + */ + public void setProperty(String key, Object value); + /** + * Returns the value of the property or null, if the key + * does not name a valid property + * A property may never return null! + * @param key + * @return + */ + public Object getProperty(String key); +}