Examples of IActionListener


Examples of com.greentea.relaxation.jnmf.gui.utils.IActionListener

   {
      super(name);

      this.owner = owner;

      dataManagementComponent = new DataManagementComponent(new IActionListener()
      {
         public void actionPerformed()
         {
            afterDataLoading();
         }
      }, new IActionListener()
      {
         public void actionPerformed()
         {
            networksParentComponent.selectLearningComponent();
         }
View Full Code Here

Examples of com.ulcjava.base.application.event.IActionListener

        updateProperties(factory);

        model.addPropertyChangeListener(new CommandPropertyChangeListener(factory));

        component.addActionListener(new IActionListener() {
            public void actionPerformed(ActionEvent event) {
                model.doAction();
                model.finaliseAction();
            }
        });
View Full Code Here

Examples of com.ulcjava.base.application.event.IActionListener

        updateProperties(factory);

        model.addPropertyChangeListener(new CommandPropertyChangeListener(factory));

        component.addActionListener(new IActionListener() {
            public void actionPerformed(ActionEvent event) {
                model.doAction();
                model.finaliseAction();
            }
        });
View Full Code Here

Examples of org.apache.tapestry.IActionListener

        // A listener is not always necessary ... it's easy to code
        // the synchronization as a side-effect of the accessor method.

        getValueBinding().setObject(value);

        IActionListener listener = getListener();

        if (listener != null)
            listener.actionTriggered(this, cycle);
    }
View Full Code Here

Examples of org.apache.tapestry.IActionListener

        int index = 0;

        IBinding indexBinding = getIndexBinding();
        IBinding valueBinding = getValueBinding();
        IActionListener listener = getListener();
        String element = getElement();

        while (i.hasNext())
        {
            Object value = null;

            if (indexBinding != null)
                indexBinding.setInt(index++);

            if (cycleRewinding)
                value = convertValue((String) i.next());
            else
            {
                value = i.next();
                writeValue(form, name, value);
            }

            valueBinding.setObject(value);

            if (listener != null)
                listener.actionTriggered(this, cycle);

            if (element != null)
            {
                writer.begin(element);
                renderInformalParameters(writer, cycle);
View Full Code Here

Examples of org.apache.tapestry.IActionListener

                        Integer.toString(expected - _allocatedIdIndex),
                        nextExpectedId),
                    this);
            }

            IActionListener listener = getListener();

            if (listener != null)
                listener.actionTriggered(this, cycle);

            // Abort the rewind render.

            throw new RenderRewoundException(this);
        }
View Full Code Here

Examples of org.apache.tapestry.IActionListener

        String name = form.getElementId(this);

        boolean condition = getCondition(cycle, form, name);

        // call listener
        IActionListener listener = getListener();
        if (listener != null)
            listener.actionTriggered(this, cycle);

        // render the component body only if the condition is true
        if (condition) {
            String element = getElement();
           
View Full Code Here

Examples of org.apache.tapestry.IActionListener

            IBinding selectedBinding = getSelectedBinding();

            if (selectedBinding != null)
                selectedBinding.setObject(getTag());

            IActionListener listener = getListener();

            if (listener != null)
                listener.actionTriggered(this, cycle);

            return;
        }

        writer.beginEmpty("input");
View Full Code Here

Examples of org.apache.tapestry.IActionListener

                if (value != null && value.equals(name))
                {
                    IBinding selectedBinding = getSelectedBinding();
                    if (selectedBinding != null)
                        selectedBinding.setObject(getTag());
                    IActionListener listener = getListener();
                    if (listener != null)
                        listener.actionTriggered(this, cycle);
                }
            }

            writer.begin("a");
            writer.attribute(
View Full Code Here

Examples of org.apache.tapestry.IActionListener

     *
     **/

    public void trigger(IRequestCycle cycle)
    {
        IActionListener listener = getListener();
       
        if (listener == null)
          throw Tapestry.createRequiredParameterException(this, "listener");

        listener.actionTriggered(this, cycle);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.