Package org.apache.tapestry.event

Examples of org.apache.tapestry.event.ChangeObserver


    public static void fireObservedChange(
        IComponent component,
        String propertyName,
        short newValue)
    {try { __CLOVER_33_0.M[226]++;
        __CLOVER_33_0.S[836]++;ChangeObserver observer = component.getPage().getChangeObserver();

        __CLOVER_33_0.S[837]++;if ((((observer == null) && (++__CLOVER_33_0.CT[171] != 0)) || (++__CLOVER_33_0.CF[171] == 0))){
            __CLOVER_33_0.S[838]++;return;}

        __CLOVER_33_0.S[839]++;ObservedChangeEvent event =
            new ObservedChangeEvent(component, propertyName, new Short(newValue));

        __CLOVER_33_0.S[840]++;observer.observeChange(event);
    } finally { }}
View Full Code Here


     *            the new value for the property
     * @since 3.0
     */
    public static void fireObservedChange(IComponent component, String propertyName, Object newValue)
    {try { __CLOVER_33_0.M[2745]++;
        __CLOVER_33_0.S[11078]++;ChangeObserver observer = component.getPage().getChangeObserver();

        __CLOVER_33_0.S[11079]++;if ((((observer == null) && (++__CLOVER_33_0.CT[1925] != 0)) || (++__CLOVER_33_0.CF[1925] == 0))){
            __CLOVER_33_0.S[11080]++;return;}

        __CLOVER_33_0.S[11081]++;ObservedChangeEvent event = new ObservedChangeEvent(component, propertyName, newValue);

        __CLOVER_33_0.S[11082]++;observer.observeChange(event);
    } finally { }}
View Full Code Here

     *            the new value for the property
     * @since 3.0
     */
    public static void fireObservedChange(IComponent component, String propertyName, Object newValue)
    {
        ChangeObserver observer = component.getPage().getChangeObserver();

        if (observer == null)
            return;

        ObservedChangeEvent event = new ObservedChangeEvent(component, propertyName, newValue);

        observer.observeChange(event);
    }
View Full Code Here

    public static void fireObservedChange(
        IComponent component,
        String propertyName,
        Object newValue)
    {
        ChangeObserver observer = component.getPage().getChangeObserver();

        if (observer == null)
            return;

        ObservedChangeEvent event = new ObservedChangeEvent(component, propertyName, newValue);

        observer.observeChange(event);
    }
View Full Code Here

    public static void fireObservedChange(
        IComponent component,
        String propertyName,
        boolean newValue)
    {
        ChangeObserver observer = component.getPage().getChangeObserver();

        if (observer == null)
            return;

        ObservedChangeEvent event =
            new ObservedChangeEvent(
                component,
                propertyName,
                newValue ? Boolean.TRUE : Boolean.FALSE);

        observer.observeChange(event);
    }
View Full Code Here

    public static void fireObservedChange(
        IComponent component,
        String propertyName,
        double newValue)
    {
        ChangeObserver observer = component.getPage().getChangeObserver();

        if (observer == null)
            return;

        ObservedChangeEvent event =
            new ObservedChangeEvent(component, propertyName, new Double(newValue));

        observer.observeChange(event);
    }
View Full Code Here

    public static void fireObservedChange(
        IComponent component,
        String propertyName,
        float newValue)
    {
        ChangeObserver observer = component.getPage().getChangeObserver();

        if (observer == null)
            return;

        ObservedChangeEvent event =
            new ObservedChangeEvent(component, propertyName, new Float(newValue));

        observer.observeChange(event);
    }
View Full Code Here

    *
    * @since 3.0
    */
    public static void fireObservedChange(IComponent component, String propertyName, int newValue)
    {
        ChangeObserver observer = component.getPage().getChangeObserver();

        if (observer == null)
            return;

        ObservedChangeEvent event =
            new ObservedChangeEvent(component, propertyName, new Integer(newValue));

        observer.observeChange(event);
    }
View Full Code Here

    *
    * @since 3.0
    */
    public static void fireObservedChange(IComponent component, String propertyName, long newValue)
    {
        ChangeObserver observer = component.getPage().getChangeObserver();

        if (observer == null)
            return;

        ObservedChangeEvent event =
            new ObservedChangeEvent(component, propertyName, new Long(newValue));

        observer.observeChange(event);
    }
View Full Code Here

     *
     * @since 3.0
     */
    public static void fireObservedChange(IComponent component, String propertyName, char newValue)
    {
        ChangeObserver observer = component.getPage().getChangeObserver();

        if (observer == null)
            return;

        ObservedChangeEvent event =
            new ObservedChangeEvent(component, propertyName, new Character(newValue));

        observer.observeChange(event);
    }
View Full Code Here

TOP

Related Classes of org.apache.tapestry.event.ChangeObserver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.