From 5254a47944a0dc8fdcb5e4064ed8278c6ae58f0c Mon Sep 17 00:00:00 2001 From: Thomas Oster <thomas.oster@rwth-aachen.de> Date: Fri, 12 Oct 2012 15:44:14 +0200 Subject: [PATCH] missing file --- src/com/t_oster/liblasercut/Customizable.java | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/com/t_oster/liblasercut/Customizable.java diff --git a/src/com/t_oster/liblasercut/Customizable.java b/src/com/t_oster/liblasercut/Customizable.java new file mode 100644 index 0000000..7391c2e --- /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); +} -- GitLab