[Buix-commits] r572 - in trunk/lutinjaxx: core/src/main/java/jaxx/runtime runtime/src/main/java/jaxx/runtime
Author: tchemit Date: 2008-04-18 20:00:44 +0000 (Fri, 18 Apr 2008) New Revision: 572 Added: trunk/lutinjaxx/core/src/main/java/jaxx/runtime/JAXXObject.java Removed: trunk/lutinjaxx/runtime/src/main/java/jaxx/runtime/JAXXObject.java Log: this is formea mystery how it could works before... Copied: trunk/lutinjaxx/core/src/main/java/jaxx/runtime/JAXXObject.java (from rev 565, trunk/lutinjaxx/runtime/src/main/java/jaxx/runtime/JAXXObject.java) =================================================================== --- trunk/lutinjaxx/core/src/main/java/jaxx/runtime/JAXXObject.java (rev 0) +++ trunk/lutinjaxx/core/src/main/java/jaxx/runtime/JAXXObject.java 2008-04-18 20:00:44 UTC (rev 572) @@ -0,0 +1,45 @@ +/* + * Copyright 2006 Ethan Nicholas. All rights reserved. + * Use is subject to license terms. + */ +package jaxx.runtime; + +/** The <code>JAXXObject</code> interface is implemented by all classes produced by the JAXX compiler. */ +public interface JAXXObject { + /** + * Retrieves an object defined in an XML tag by its ID. + * + * @param id the id of the component to retrieve + * @return the object + */ + public Object getObjectById(String id); + + + public void applyDataBinding(String id); + + + public void removeDataBinding(String id); + + + /** + * Processes a data binding by name. Data binding names are comprised of an object ID and a property name: + * for example, the data binding in the tag <code><JLabel id='label' text='{foo.getText()}'/></code> is + * named <code>"label.text"</code>. Processing a data binding causes it to reevaluate its expression, in this + * case <code>foo.getText()</code>. + * + * @param dest the name of the data binding to run + */ + public void processDataBinding(String dest); + + + /** + * All <code>JAXXObject</code> implements are capable of broadcasting <code>PropertyChangeEvent</code>, and + * furthermore (for technical reasons) must allow code in outside packages, specifically the JAXX runtime, + * to trigger these events. + * + * @param name the name of the property which changed + * @param oldValue the old value of the property + * @param newValue the new value of the property + */ + public void firePropertyChange(String name, Object oldValue, Object newValue); +} \ No newline at end of file Deleted: trunk/lutinjaxx/runtime/src/main/java/jaxx/runtime/JAXXObject.java =================================================================== --- trunk/lutinjaxx/runtime/src/main/java/jaxx/runtime/JAXXObject.java 2008-04-18 19:59:37 UTC (rev 571) +++ trunk/lutinjaxx/runtime/src/main/java/jaxx/runtime/JAXXObject.java 2008-04-18 20:00:44 UTC (rev 572) @@ -1,45 +0,0 @@ -/* - * Copyright 2006 Ethan Nicholas. All rights reserved. - * Use is subject to license terms. - */ -package jaxx.runtime; - -/** The <code>JAXXObject</code> interface is implemented by all classes produced by the JAXX compiler. */ -public interface JAXXObject { - /** - * Retrieves an object defined in an XML tag by its ID. - * - * @param id the id of the component to retrieve - * @return the object - */ - public Object getObjectById(String id); - - - public void applyDataBinding(String id); - - - public void removeDataBinding(String id); - - - /** - * Processes a data binding by name. Data binding names are comprised of an object ID and a property name: - * for example, the data binding in the tag <code><JLabel id='label' text='{foo.getText()}'/></code> is - * named <code>"label.text"</code>. Processing a data binding causes it to reevaluate its expression, in this - * case <code>foo.getText()</code>. - * - * @param dest the name of the data binding to run - */ - public void processDataBinding(String dest); - - - /** - * All <code>JAXXObject</code> implements are capable of broadcasting <code>PropertyChangeEvent</code>, and - * furthermore (for technical reasons) must allow code in outside packages, specifically the JAXX runtime, - * to trigger these events. - * - * @param name the name of the property which changed - * @param oldValue the old value of the property - * @param newValue the new value of the property - */ - public void firePropertyChange(String name, Object oldValue, Object newValue); -} \ No newline at end of file
participants (1)
-
tchemit@users.labs.libre-entreprise.org