How to fire event on panel in coverflow?

Hi,
I have cover flow.Inside that 10 panels(created dynamically)  will be present.
when u run application we will get coverflow.My requirement is when i click on first panel i have to
fire event.similarly when i click on remaining panels(ie first click it will show to user(panel1) and second click on the same pane1(panel1) event
will be fired.for suppose second click on panel2(not panel1),then i dont want fire event).How to do that?
Regards
D.Mahesh Babu

Hi Sarah,
Looks like you are talking of exactly what I want!
I have attached a sample VI to try achieve what I want. But it still has some issues which are:
1) I am unable to configure a Plot Attribute Change Event. I have used a mouse leave event instead. How does one configure a Plot Attribute Change Event?
2) Is there no single property which will transfer all the settings of plot legend from one graph to plot legend of another graph? In my sample VI, I have to read each property of the master graph and feed it into the slave graph.
Kindly note I am using LV FDS 7.1 on Win2000
Thanks,
Gurdas
Message Edited by Gurdas on 03-27-2006 11:51 PM
Gurdas Singh
PhD. Candidate | Civil Engineering | NCSU.edu
Attachments:
Graph_PlotLegend_Event.vi ‏45 KB

Similar Messages

  • How to fire event to generate insert message for the child objects?

    We are in process to integrate CRM On Demand and existing Microsoft SQL DB.
    We have the following problem:
    For ex., we have CRM Object_1 that already synchronized with the SQL DB. CRM also has independent Object_2 and its child Object_2.1
    We dicided that we want to connect the Object_2 as child to the Object_1.
    The question is how to fire event to generate insert message for the Object_2 and Object_2.1?
    What is the best technique? Is it possible to do it by workflow configuration or it needs to be done programmatically?
    Thanks,
    Dmitry
    Edited by: 955827 on Aug 29, 2012 11:57 AM

    Hi,
    integration events can be generated only via worklow. You will need to create separate workflows for each record type (regardless if it is child or parent) because a workflow for the parent record type will not trigger when a child record is created/ associated. Also, the association workflows will trigger only when the specific event occurs.
    There is not way to generate the integrtaion events programatically. They are generated by workflows and are read/ interpreted by a code extension.

  • How to fire event with parameter?

    Hi folks,
    does anyone know how to use the event parameter functionality?
    My idea is to fire an event within the richisland and pass a parameter value. As I recognized the function
    var myParameter:Number = new Number();
    FlashIsland.fireEvent(this,"myEvent",myParameter);
    On WD side in ROOTUIELEMENTCONTAINER I created a child element of type GACEvent, named myEvent. This event has a GACEventParameter named myParameter.
    But running the app I am getting a dump:
    WebDynpro Exception: ERROR: GAC_EVENT_PARAMETER 'myParameter' missing (GAC_EVENT='myEvent')
    Any idea of how to fix this?

    Hi,
    I solved it now. The correct syntax is:
    FlashIsland.fireEvent(this, 'myEvent', {myParameter:myValue});
    Hope it helps you too.
    Greets

  • How to fire event in view controller from component controller.

    I have a component usage that fires an event wich i have subscribed in the component controller.
          iv_usage->subscribe_event( iv_event_name = 'TAKE_IT'
                                     iv_handler = me ).
    After the event the method IF_BSP_WD_EVENT_HANDLER~HANDLE_EVENT in the component controller is called.
    method if_bsp_wd_event_handler~handle_event.
    endmethod.
    The usage component is opened as a popup window. After pressing a button, the data is transfered via context node binding to the calling component. But now i want to close the popup.
    My intension is to fire a event for the view controller in the IF_BSP_WD_EVENT_HANDLER~HANDLE_EVENT method that closes the popup.
    Is this possible?
    Or let me explain it this way:
    I want to close a popup after a button in the popup is pressed.
    best regards
    Jürgen

    Hello Juergen
    I am assuming your target pop-up is of type ref to IF_BSP_WD_POPUP.
    1.Make this a view controller class attribute.
    2. After the code to create the pop-up, you can add the following block :
    gv_target_popup->set_on_close_event( iv_view = me iv_event_name = 'CLOSEPOPUP').
    3. Now define event handler EH_ONCLOSEPOPUP where you can write the logic for on_close.
    You can access the same reference gv_target_popup at the event handler level as well.
    Hope this helps.
    Regards
    Nisha

  • How to fire event in VS C# when QuickTime sees a marker.

    I am using Visual Studio 2005 C# to run QT with ActiveX.  I have set markers in the video file that show up in the window at the bottom of a QT movie.  I want to be able to capture that marker with an event handler and tell a microcontroller to do something when that marker is hit.  I've done a lot of research and can't find a way to extract the marker name or even find an event handler that will fire when the marker is hit.  Since QT shows the name in the window I'm thinking there has to be a way to get that information to a C# application.
    Any help would be appreciated,
    Steve

    hi,
    You can create a method from the methods tab in your view controller. Write the code for populating your combo box in this method. Now in the doInit you can call this method. In the action handler of the button also call this method.
    hope this helps you.
    regards,
    Rahul.

  • How to fire event to a textarea?

    Hi all!
    I am developing a small chat application where the data typed at the client on a textarea should be reflected in the textarea at the server. I can send data through the network and append it at the client. But if I want to handle the special keystrokes like backspace and all, I need to manually identify the code for that particular key and then do that operation on the server textarea. But what I am trying is I will send the TEXTEVENT object through the network and using information in it, I will construct a new TEXTEVENT object by changing the source object alone. Then I want to fire that on the textarea. We have a method processTextEvent in TextComponent(base of textarea). But it is protected and so even if I try to extend the textarea and do it, I don't have access to that method.
    Can anyone help me out!
    Thanks in advance.
    Bye
    Vijay

    Here's some code that works in Window$, but fails badly in Solaris 9. In Solaris it doesn't display the characters and produces an "unexpected exception in code outside the JVM".
    Here's the client
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    import java.util.LinkedList;
    public class TestEC extends Frame implements KeyListener
         TextField input;
         Socket sock=null;
         boolean connected = false;
         InputStream is = null;
         ObjectOutputStream oos = null;
         Thread recvThread = null;
         Thread sendThread = null;
         Queue sendQueue = null;
         TestEC()
              input = new TextField(30);
              addWindowListener(new WindowAdapter()
              {public void windowClosing(WindowEvent evt){System.exit(0);}});
              add(input);
              input.addKeyListener(this);
              pack();
         private boolean connect(String address, int port)
              try
                   sock = new Socket(address, port);          // try to connect to port 9999 on my Solaris system
                   is = sock.getInputStream();
                   oos = new ObjectOutputStream(sock.getOutputStream());
                   sendQueue = new Queue();
                   recvThread = new Thread(new Runnable(){public void run(){doRecv();}});
                   recvThread.start();
                   sendThread = new Thread(new Runnable(){public void run(){doSend();}});
                   sendThread.start();
                   connected = true;
              catch(IOException e)
                   System.out.println("failed to connect to: "+address+":"+port);
                   sock = null;
                   connected = false;
              return connected;
         public void keyPressed(KeyEvent e){sendKey(e);}
         public void keyReleased(KeyEvent e){sendKey(e);}
         public void keyTyped(KeyEvent e){sendKey(e);}
         private void sendKey(KeyEvent e)
              sendQueue.push(e);
         public static void main(String[] args)
              String address = "127.0.0.1";
              if(args.length > 0)address = args[0];
              TestEC tec = new TestEC();
              if (tec.connect(address,9999))tec.show();
              else System.exit(0);
         // read and discard until close seen, then shutdown
         private void doRecv()
              int last = 0;
              try{while(connected && -1 != last){last = is.read();}}
              catch(IOException e){e.printStackTrace();}
              connected = false;
              try
                   sock.close();
                   sendThread.interrupt();
              catch(Exception ce){ce.printStackTrace();}
         private void doSend()
              Object obj;
              while(connected)
                   obj = sendQueue.pop();
                   if(obj != null)
                        try{oos.writeObject(obj); oos.flush();}
                        catch(IOException e){e.printStackTrace();}
         // a simple queue class between two threads
         class Queue
              LinkedList q = new LinkedList();
              public synchronized void push(Object obj)
                   q.add(obj);
                   this.notify();     // tell pop to run with it
              public synchronized Object pop()
                   if(q.isEmpty())
                        try{this.wait();}
                        catch (InterruptedException e){return null;}
                   return q.remove(0);
    } And here's the server
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    public class TestES extends Frame
         TextField output;
         Socket sock=null;
         boolean connected = false;
         ObjectInputStream ois = null;
         Thread recvThread = null;
         Thread listenThread = null;
         TestES()
              output = new TextField(30);
              addWindowListener(new WindowAdapter()
              {public void windowClosing(WindowEvent evt){System.exit(0);}});
              add(output);
              pack();
         private void start()
              listenThread = new Thread(new Runnable(){public void run(){doListen();}});
              listenThread.start();
         private void doListen()
              ServerSocket ssock = null;
              try
                   ssock = new ServerSocket(9999);          // listen on port 9999 on this host
                   sock = ssock.accept();
                   ois = new ObjectInputStream(sock.getInputStream());
                   recvThread = new Thread(new Runnable(){public void run(){doRecv();}});
                   recvThread.start();
                   connected = true;
              catch(IOException e)
                   System.out.println("listen failed");
                   sock = null;
                   connected = false;
         public static void main(String[] args)
              TestES tes = new TestES();
              tes.start();
              tes.show();
         // read and process events from socket
         private void doRecv()
              Object obj;
              while(connected)
                   try
                        obj = ois.readObject();
                        postEvent(obj);
                   catch(Exception e){e.printStackTrace(); connected = false;}
              try
                   sock.close();
              catch(Exception ce){ce.printStackTrace();}
         private void postEvent(Object obj)
              output.requestFocus();
              output.dispatchEvent((KeyEvent) obj);

  • How to fire an event dynamically in JSF Page

    Hi All
    How to fire an event dynamically in JSF Page?
    Thanks
    Sudhakar

    Hi,
    Thanks for the response. I mean to say, if I create the components dynamically then how can I fire events for those components.
    In otherwords,
    If I create the Button dynamically with particular ID being set to that component, then how can I call button action event when the button is clicked??
    Hope you understand
    What is the role of MethodBinding mechanism here??
    Thanks
    Sudhakar Chavali

  • How to fire another event handler for postprocess stage

    Hi All,
    I have 3 custom event handlers for postprocess stage, for modify action on user object. The problem is tah only one event handler is executed - I use EntityManager API to modify user object. How to fire another event handlers? Do I have use UserManager API?
    best
    mp

    As Bikash stated, used a single event handler. You can put if statements in there to identity the operation, as well as if statements if the parameter is found i the list of attributes being modified. This way you will only perform the action when necessary.
    -Kevin

  • How to fire JComboBox itemStateChanged event manually?

    hello:
    I want to know how to fire JComboBox itemStateChanged event manually.
    thank you
    -Daniel

    Call setSelectedIndex or setSelectedItem.

  • How to separate "Key down" event from panel and numerical control

    Hi, All
    I have a vi proecess key down events for panel and  a numerical control in this panel. the application will do: 
    1. when panel is focused, user can use "up" and "down" key to driver some hardware.
    2. when the numerical control has the focus, "up" and "down" key will change it's value as usual.
    somehow the second one did not work, because the panel "key down" event was trigger as well when I use "up' "down" key inise the numerical control. 
    then I used "Key down?" of numerical control to block the "up/down" key. But the first time when I run the Vi, the panel still got triggered one time. 
    any suggestions on this? test code attached  in this post too. 
    thanks
    CQ
    Solved!
    Go to Solution.
    Attachments:
    KeyDown_Up_valuechange.vi ‏16 KB

    This works for me in 2014.  In short, you just need to check to see if your numeric has the focus.  If it doesn't, then you process the key value.  No need for any other event here except for the stop button.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    KeyDown_Up_valuechange_BD.png ‏32 KB

  • How to Create Event polling table

    hi,
    1)How to Create Event polling table
    2) wahts RPD stands for.
    3) when we are prefer Dynamic variables.
    thanks.
    raj

    1) http://obiee101.blogspot.com/2008/07/obiee-managing-cache-emptyingpurging.html
    2) Repository Project Design ?
    - More than likely the extension RPD was not used by anything else when Siebel Analytics first started using it, no doubt the 'RP' is repository, so use 'Definition' or 'Design' as you like. Im pretty sure there is nothing in the documentation but i've not checked, maybe you could check and let us know?
    3) Dynamic variables would be something like 'CURRENT_MONTH' where the same query does not need to fire per user (ie SESSION variable) but needs to be periodically refreshed. Another use of you dynamic variable might be 'LAST_ETL_DATE' or somethng similar which might implement with your event polling table. By including the Variable within a Business Model, all cache for the Business Model is purged whenever the Variable's value changes.

  • How do I position to panels in a single frame?

    Hi,
    Can someone tell me how i can position two panels in a single frame using the BorderLayout class.
    I have included my code below. When it is run it shows two JPanels positioned at the top and the bottom, a text area to the right, a panel in the center and a panel on the left. I want to get the panel on the left - the yellow panel - to be positioned in the lower third of the center panel. I have tried to use the BorderLayout.SOUTH statement - but this positions the panel across the very bottom which causes the bottom JPanel and part of the text area to disappear.
    Can anyone help with this please???
    Many thanks
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Panels extends JFrame implements ActionListener
         private TopPanel topPanel;
         private BottomPanel bottomPanel;
         private JButton open;
         private JButton close;
         private JButton connect;
         boolean openClicked = false;
         boolean closeClicked = false;
         public Panels()
              super("Panels");
              setSize(1000,600);
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              setVisible(true);
              Container contentArea = getContentPane();
              topPanel = new TopPanel();
              bottomPanel = new BottomPanel();
              JTextArea textArea = new JTextArea("Text Area",20,20);
              JScrollPane textScroller = new JScrollPane(textArea);
              open = new JButton("Open");
              open.addActionListener(this);
              close = new JButton("Close");
              close.addActionListener(this);
              connect = new JButton("Connect");
              connect.addActionListener(this);
              JPanel topBar = new JPanel();
              topBar.setBackground(Color.red);
              topBar.add(open);
              topBar.add(close);
              JPanel lowerBar = new JPanel();
              lowerBar.setBackground(Color.red);
              lowerBar.add(connect);
              bottomPanel.setPreferredSize(new Dimension(100,100));
              contentArea.add(topPanel);
         contentArea.add(bottomPanel,BorderLayout.WEST);
              contentArea.add(textScroller,BorderLayout.EAST);
              contentArea.add(lowerBar,BorderLayout.SOUTH);
              contentArea.add(topBar,BorderLayout.NORTH);
              setContentPane(contentArea);
    public void actionPerformed(ActionEvent e)
         if(e.getSource() == open)
         openClicked = true;
         topPanel.repaint();
         if(e.getSource() == close)
         {closeClicked = true;
         bottomPanel.repaint();
    class TopPanel extends JPanel
         public TopPanel()
         public void paintComponent(Graphics painter)
              super.paintComponent(painter);
              painter.setColor(Color.white);
              painter.fillRect(0,0,getSize().width,getSize().height);
              if (openClicked == true)
              drawTopMessage(painter);
         public void drawTopMessage(Graphics painter)
              painter.setColor(Color.black);
              painter.drawString("This is the top panel", 20,20);
    class BottomPanel extends JPanel
         public BottomPanel()
         public void paintComponent(Graphics painter)
              super.paintComponent(painter);
              painter.setColor(Color.yellow);
              painter.fillRect(0,0,getSize().width,getSize().height);
              if (closeClicked == true)
              drawBottomMessage(painter);
         public void drawBottomMessage(Graphics painter)
              painter.setColor(Color.black);
              painter.drawString("This is the bottom panel", 20,20);
    public static void main(String[] args)
         Panels example = new Panels();

    One solution would be to create a new panel, bothPanels and adding the two panels that you need to this panel.
    Once you have done that, you can add bothPanels to contentArea.add( bothPanels, BorderLayout.CENTER)
    hth

  • Fire Event Through Interface

    I have been using this interface
    public class InputHandler implements VoteListener
    public void onVote(Response[] responses)
    }I get the call back with out registering the class. How can I implement my own interface without the user registering their class? I do not know how to fire the events through an interface without registering the class.
    Edited by: MrGreen2 on Feb 5, 2008 4:01 PM

    What do you mean "registering a class?"
    If you don't care about which thread the events are fired on, the observable item should maintain a list of Listeners then call the relevant method when needed:
       public static void addVoterListener(VoterListener l) {
            m_voterListenerList.add(l);
       public static void removeFeatureListener(VoterListener l) {
           m_voterListenerList.remove(l);
       someMethod() {
             for (VoterListener l : m_voterListenerList) {
                  l.onVote(responses);
    }If you want the events to fire on the EDT, you'll have to wrap up the Responses into a Runnable and use SwingUtilities.invokeLater to enqueue the trigger there. If the trigger may alter the listener list, you'll also want to make something like the AWTEventMulticaster for your listeners.
    If you consider the "addVoterListener" method as "registering" then you'll have to find some other way to devise the list of listeners. But somehow, the obervable needs to know which observers are interested in the events.

  • JTable: how to prevent events?

    Hello friends...
    Does somebody know how to prevent a JTable to fire events at certain times when selections are made?
    In this case, the selection can be made externally to the table, by a lot of objects at the same time. The goal is to fire an event ONLY when I really need it...
    ThanX in advance for any help...

    Hello again...
    ThanX for your answers, I used a mix of both.
    I used the method .setValueIsAdjusting() in ListSelectionModel that considers all coming events as one and I used a flag to enable changes.
    The problem now is, I get a big array of values the table has to handle. Since it handles it as one unique event, it should be OK. But I fear that if the array is really monstruous, the method .setValueIsAdjusting() enters in "wait" mode (multi threads and all the stuff) and the flag is set to true (changes possible) without changes being made to table... Perhaps, there would be no problem at all...
    Is it possible to force .setValueIsAdjusting() to do his job immediately?
    ThanX a lot for your time...

  • InputField fire event problem in webDynpro

    I have one validation or Fire Event problem with respect to Inputfield in web Dynpro.
    I have one Input filed and created the context varible for that, then i mapped the context varible to the InputField, and i changed the context varible type as date.So , when i run the view , it will show the calender near to the text box to select the perticular date. On select of the perticular date. It will populate selected  date in to the inputField.
    On selection of the perticular date. Based on the date i want to generate the next 12 months date at runtime in different text boxes. But the only event available for the InputField is only "onEnter". This is not useful in my case, bcz on selection of the Date , the user may not use the Enter key. so , how can use the other events like onSelection or onChange events in the InputFields to reach my needs.
    Any one  give me the idea to solve this problem.
    Vijay

    Hello Vishal,
    You may also refer the sample code in the below link
    <a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0c0dcacd-0401-0010-b4bd-a05a0b4d68c8">http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0c0dcacd-0401-0010-b4bd-a05a0b4d68c8</a>
    Regards,
    Sudeep.

Maybe you are looking for

  • "The request failed with HTTP Status 400: Bad Request." when running reports

    Hi, I installed reporting services and the install went fine.  The Reporting Services are located on a different server.  I can see all the reports in SCCM but when I try to run them I get the "400" error with the following details: System.Net.WebExc

  • Content categories cause error

    I just noticed the other day that using content categories causes an error in the output (see below). I verified this with a new test project with the same result. It is independent of the browser used. All is fine if I manually open the start page i

  • How to use xtags: when or xtags: if on variable id

    <!-- <xtags:variable id="data" context="<%=specs%>" select="//header/msds"/>           <a href="/DATA/<%=data%> target="#">MSDS</a> --> My problem is if the value of data is null it gives the error page not found in the explorer but I want to href to

  • How to recover missing content of mail folders after upgrade to Maverick?

    When I upgraded my Mac computer to Maverick I lost the content of my mail folders.  The folders are there but there are no emails filed in them.

  • Linking and Unlinking Facebook from a Premium Account

    Hi, I have a premium Spotify account that I setup with a login that is not connected to facebook. I'm considering linking the account to my Facebook account (which I understand how to do I believe.) If I dislike the two being connected I'd like to di