Pass event

Is there a way to make events such as mouseEnter, mouseLeave,
mouseWithin,
etc. work on multiple sprites at the same time? Thus if
you're rolling over
2 sprites at once, a command is passed to both of them,
instead of just the
one on top? I was pretty sure that the "pass" command was
supposed to do
this, but it doesn't seem to do anything at all for these
handlers. (It
really should - would make it a much more useful command.) I
know I could
run a rollover script from a frame handler to get the same
effect, but this
would require individually checking each sprite with the
behavior, rather
than the behaviors handling themselves as they ideally
should.
(Particularly if the number of sprites using the behavior is
not a
constant.) Thus, I want something that works on the behavior
script itself,
rather than being operated by a third party like the frame
script or an
independant movie script. Any suggestions?

If you *have* to:
on mouseUp me, obj
if obj=me then exit
-- add code here.
put me, obj
-- if the script is a behavior, the obj.voidP check is
required.
if obj.voidP then sendAllSprites(#mouseUp, me)
end
"Darrel Hoffman" <[email protected]> wrote in message
news:eollgf$7rv$[email protected]..
> Is there a way to make events such as mouseEnter,
mouseLeave, mouseWithin,
> etc. work on multiple sprites at the same time? Thus if
you're rolling
> over
> 2 sprites at once, a command is passed to both of them,
instead of just
> the
> one on top? I was pretty sure that the "pass" command
was supposed to do
> this, but it doesn't seem to do anything at all for
these handlers. (It
> really should - would make it a much more useful
command.) I know I could
> run a rollover script from a frame handler to get the
same effect, but
> this
> would require individually checking each sprite with the
behavior, rather
> than the behaviors handling themselves as they ideally
should.
> (Particularly if the number of sprites using the
behavior is not a
> constant.) Thus, I want something that works on the
behavior script
> itself,
> rather than being operated by a third party like the
frame script or an
> independant movie script. Any suggestions?
>
>

Similar Messages

  • Passing events - whats wrong with this code?

    hi,
    I'm trying to get components to behave in a frame like they would as though I had written
    frame.getContentPane().add(thecomponent);
    by processing events explicitly. I've written the code below as a test, and it does work, but the events do not seem to be passed to the component at the right level.
    For example, when the JTree is the component tried it does not expand nodes when you click on them.
    Or if you tree a JButton then it doesn't actually visibly "click"
    I'm still quite new with Swing so any help would be really appreciated - is this kind of thing even possible?
    thanks,
    asjf
    import javax.swing.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    public class EventTest extends Component
         Component notAttached;
         class SimpleMouseListener implements MouseListener
              String owner;
              Component passOnTo;
              SimpleMouseListener(String owner, Component passOnTo)
                   this.owner = owner;
                   this.passOnTo = passOnTo;
              public void mouseClicked(MouseEvent e){passOn(e);}
              public void mousePressed(MouseEvent e){passOn(e);}
              public void mouseReleased(MouseEvent e){passOn(e);}
              public void mouseEntered(MouseEvent e){passOn(e);}
              public void mouseExited(MouseEvent e){passOn(e);}
              public void passOn(MouseEvent e)
                   System.out.println(owner+" "+e);
                   if(passOnTo!=null)
                        passOnTo.dispatchEvent(
                             new MouseEvent(passOnTo,
                                                      e.getID(),
                                                      System.currentTimeMillis(),
                                                      e.getModifiers(),
                                                      e.getX(), // needs offsetting relative to parent
                                                      e.getY(), // needs offsetting relative to parent
                                                      e.getClickCount(),
                                                      e.isPopupTrigger()
         EventTest()
              super();
              notAttached = new JTree(); //JButton("Hello");
                   notAttached.setSize(100,100);
                   notAttached.setVisible(true);
                   notAttached.addMouseListener(new SimpleMouseListener("unattached component",null));
         public void paint(Graphics g){notAttached.paint(g);}
         static void main(String [] arg) throws Exception
              JFrame frame = new JFrame("Passing events test");
                   frame.setSize(640,480);
                   frame.setVisible(true);
                   EventTest et = new EventTest();
                   frame.getContentPane().add(et);
                   frame.addMouseListener(et.new SimpleMouseListener("Frame listener",et.notAttached));
    }

    Sorry
    It doesn't compile.
    I'm not sure how to create the 6 processes to each add part of sum and then update the total for the next processor to sum the next part up, and i don't know where it goes either.
    I think it would be something like:
    public void run()
    try
    //this add it up
    total= array + total;
    System.out.println("PROCESSOR"+thisnumber+" Your total is " + total);
    sleep();
    update(total)
    and then do the same code for another processor.
    I'm confused do I have to name each processor and put the name in :
    public void Processor1 ()
    please help I'm very confused
    }

  • ICal Alarm - Pass Event data to AppleScript?

    Is there a way that a script called by an iCal alarm can be passed event data as parameters?

    This is a quick one I knocked up a while back to see if it was possible. The problem is that iCal doesn't tell the script what event triggered it, so you have to go looking ...
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">(*
    called from iCal as on alarm, will speak the title of the alarm event
    won't work for repeating events
    AK ITCarlow Nov 2004
    set Now to current date
    -- Adjust FuzzSeconds to suit; if too big, close events will speak several times
    set FuzzSeconds to 15
    tell application "iCal"
    set MyEvents to every event of every calendar where ((start date of it) ≥ (current date))
    repeat with ThisEvent in MyEvents --scan the list looking for events that have triggered us
    try
    set MinutesBefore to (trigger interval of open file alarm of ThisEvent) as number
    set TriggerInt to (Now - ((start date of ThisEvent) + 60 * MinutesBefore)) --notionally 0 for firing event
    if (TriggerInt < FuzzSeconds) and (TriggerInt > (-FuzzSeconds)) then
    say (summary of ThisEvent as text) & " at " & (start date of ThisEvent as text)
    --could say other fields too eg location, description ...
    end if
    end try
    end repeat
    end tell
    </pre>
    AK

  • Passing events down components in different layers

    Hi,
    Summary: How to pass events to lower level containers
    in a multi layered container system.
    This is the scenario which I have
    2 Small panels (non overlapping)are added to the content pane using
    getContentPane.add(component). Both of them have tool tips associated with them.
    Now I am adding semi transparent pane partially overlapping the above two panes and on the top of it. I achieve it by doing
    getContentPane.add(component, 0 )
    There is no tooltip associated with it.
    When I move the mouse over the non-overlapping areas, i get the tool tip associated with the panel. When I move the mouse over the overlapping area. No tool tip comes. Now I would like to display the tool tip based on the component based below the semi transparent , ofcourse depending on whether the mouse is over the overlapping area.
    Regards,
    Revon

    Here's an idea:transparentPane.addMouseListener(new MouseAdapter(){
       public void mouseEntered(MouseEvent e)
          // depending the components 1 and 2's positioning,
          // in relation to where mouse is over transparentPane,
          // you can determine who to fowaredEvent to
          if(mouseOnTopOfComponent1)
             fowardEvent(component1, e);
          else if(mouseOnTopOfComponent2)
             fowardEvent(component2, e);
    private void forwardEvent(Component c, MouseEvent e)
       c.dispatchEvent(new MouseEvent(c, e.getID(),
                                      e.getWhen(),
                                      e.getModifiers(),
                                      e.getX(), e.getY(),
                                      e.getClickCount(),
                                      e.isPopupTrigger()));
    }

  • How to pass events from enclosed JApplet to enclosing JFrame?

    Perhaps a bit of an obscure problem, but I have an application here that involves displaying JApplets within a JFrame. As long as I do nothing to give the displayed JApplet focus, I am able to use keyboard shortcuts to access my various JMenu items. However, the moment I interact with the JApplet and it gets focus (say, by entering text in a JTextField), those keyboard shortcuts no longer work.
    I imagine what's happening is that the JApplet assumes that it must be the root component and does not pass events up to the superclass. Is there any way to allow the events to be passed on from the JApplet to the enclosing JFrame? Is this even possible?
    Any help would be greatly anticipated.
    - Fromage

    Hi FTD,
    I just about get your example; it is like a containment hierarchy right - one current, one proposed?
    If it is required that there is only one base class to maintain, I am positive this can be satisfied. I suppose our ideas are similar... the point I was trying to make though is that you can implement you AnalysisClasses independent of the top-level container it resides in. The JApplet itself perhaps just needs to handle/marshal <applet> parameters (if any) while the JFrame has only JFrame specific initalisation to take care of - this can feasibly be done from the main method of the AnalysisClass. Effectively you get:
    JFrame --> JDesktopPane --> JInternalFrame x 3 --> AnalysisClass
    or
    JApplet --> AnalysisClass
    I do not fully understand what role the BaseGUIClass has... in my example, I have omitted it assuming its functionality could be redistributed to AnalysisClass or one of JInternalFrame or JApplet. Does it contain a lot of initialisation code and therefore am I wrong to make this assumption?
    'The application GUI itself is simple...', would this be the AnalysisClass and does this mean it can be dropped into a JFrame or JApplet and manage itself? If so, but not to annoy you, I would still recommend the JInternalFrames.
    I think it would frustrate me quite a bit if my superiors were rigid... it is very possible to implement this so that there is only one version of a class to maintain. The question is how much programming is required to achieve this. In my opinon, not a lot; perhaps with respect to your bosses/dealines, too much.
    Here's an idea:
    public class ApplicationGUI extends JApplet
        public void initialise()
            AnalysisClass tool = null;
            switch (Integer.parseInt(getParameter("toolType")))
                case 1:
                    tool = ....
                break;
                case 2:
                    tool = ....
                break;
                case 3:
                    tool = ....
                break;
            if (tool != null)
                setContentPane(tool);
        public void start()
        public void stop()
        public void destroy()
        public static void main(String[] args)
            JFrame jFrame = new JFrame("Application Name");
            JDesktopPane jDesktop = new JDesktopPane();
            JInternalFrame jiFrame1 = new JInternalFrame("Tool 1", true, true, true, true);
            JInternalFrame jiFrame2 = new JInternalFrame("Tool 2", true, true, true, true);
            JInternalFrame jiFrame3 = new JInternalFrame("Tool 3", true, true, true, true);       
            jDesktop.add(jiFrame1);
            jDesktop.add(jiFrame2);
            jDesktop.add(jiFrame3);
            jFrame.setContentPane(jDesktop);
            jFrame.setVisible(true);
    }BTW if you managed to add the JApplet to a JPanel, why couldn't you add it to the JFrame?
    Kind regards,
    Darren
    ps. are you based in England?
    pps. apologises for making your name sound like STD, lol
    ppps. apologies for posting code when you prob don't want it... I am at work, bored.

  • Passing event parameters to copy of DECISION task TS20000118

    Hi.
    I have made a copy of the decision task TS20000118 which is the standard approve/reject user decision step.
    In the decision step, i have a link to ME13 transaction which is done by passing object_id and giving the "display" method as default method for the ZBUS3003 object which takes Info record number as key.
    My problem is users are restrcited by PORG auth object in ME13 also and along with Info record number, i have to pass porg, plant, vendor , material to ME13 link.
    I have defined event parameters to capture this 4 fields but i dont know where to pass this parameters as TS20000118  where the link appears in using the DECISION object and not the DISPLAY method,.
    I dont want to make this 4 fields as object key because it will mean altering many other things. Also, int he DISPLAY method based on info record number i cannot retrieve 4 fields bcos there mioght be multiple records for same info record number.
    Appreciate if you can let me know how i can pass event parameters to ME12 link in DECISION step of Task TS20000118 .
    Regards
    PN.

    Hello user12628! I have the same problem. Did you solve it? I have dynamically generated size of my Event Parameter String[] mass. And some times I have Error that URL string very long :). That is why I want to use POST method instead GET. if you has found solution,please let me know.
    Message was edited by:
    kostik

  • Flex 3 Passing Event Info via Metadata

    As an opener, I am a complete new Flex user and a total novice.  This is my first crack at it and first post.  Now my problem, I am modifying and updating some existing Flex 3 code using the SDK.  I have completed all updates save one, The Alert messages HAVE NEVER WORKED, so I am trying to get those working.
    The application uses a parent mxml file, FileUploadApp.mxml which sets the stage and a canvas.
    That file uses a subordinate mxml file, FileUpload.mxml does all the work and places items on the canvas.
    FileUpload.swf is created, then included in FileUploadApp.swf.  Everything works except the Alert messages.  Communication from FileUploadApp.swf is as two fold:
    1) variables and constants are defined in FileUploadApp and used by FileUpload.
    2) evemts are defined in FileUpload and passed back to FileUploadApp via metadata.  All events are being passed back except button/mouse events.
    FileUploadApp code:
    <mx:Canvas width="400" height="300" horizontalCenter="0" verticalCenter="0">
    <com:FileUpload
      width="100%" height="100%"
      uploadUrl="{_strUploadScript}"
      uploadComplete="Alert.show('File(s) have been uploaded.', 'Upload successful')"
      uploadIOError="Alert.show('IO Error in uploading file.', 'Error')"
      uploadHTTPError="Alert.show('Upload Server Connection Lost.', 'Upload Failure')"
      uploadSecurityError="Alert.show('Security Error in uploading file.', 'Error')"
      btnCancel="Alert.show('You have canceled this upload.', 'Upload Cancled')"/>
    </mx:Canvas>
    FileUpload code:
    <mx:Metadata>
    [Event(name="uploadComplete", type="flash.events.Event")]
    [Event(name="uploadProgress", type="flash.events.ProgressEvent")]
    [Event(name="uploadCancel", type="flash.events.Event")]
    [Event(name="uploadIOError", type="flash.events.IOErrorEvent")]
    [Event(name="uploadHTTPError", type="flash.events.HTTPStatusEvent")]
    [Event(name="uploadSecurityError", type="flash.events.SecurityErrorEvent")]
    [Event(name="btnCancel", type="flash.events.MouseEvent")]
    </mx:Metadata>
    btnCancel.addEventListener(MouseEvent.CLICK, onbtnCancelClick);
    var mevt:MouseEvent = new MouseEvent("btnCancel");
    dispatchEvent(mevt);
    <mx:Button id="btnCancel" toolTip="Cancel upload" icon="@Embed('assets/cancel2.png')" width="26" click="onbtnCancelClick()"/>
    When the "btnCancel" button is clicked, the user should get the Alert message "Upload Cancled'.  All the other Alerts from events except the button events are being displayed.
    Any help will be appreciated.

    rtalton
    There are two mxml files:
    FileUploadApp.mxml => Sets the stage, some constants, some variables, all the Alerts from events and the canvas.
    There is a subordinate file, FileUpload.mxml =>  does all the work, has the images that are placed on the canvas and processes all events, but passes the events back to FileUploadApp.mxml to process the Alerts.
    FileUpload.mxml is compiled to FileUpload.swf and included into FileUploadApp.swf, all in the same compile.  Only FileUploadApp.swf is used in the Flash Player.
    Do no know why this path was chosen, as in my original message, this is code I am modifying and updating.  I have everything else running correctly except the Alerts.  I tried moving all Alert processing to FileUpload.mxml to avoid passing the event through metadata, but no joy.  The Alerts have to be processed where the original blank canvas is defined, that is FileUploadApp.mxml.

  • Tricky Passing Event problem

    Hi,
    I have two files here. 1) MyFavorites 2)
    MyFavoritesItemRenderer
    I have a datagrid with an item renderer. The item renderer is
    essentially a delete image. I am trying to write a function so when
    the user clicks the image, it will remove the row from the
    datagrid. The problem I am having is the item renderer sits in its
    own file and the DataGrid is in another.
    Do I write a private function within the item renderer.mxml
    file that will dispatch an event? I think this is only way to do it
    as I only want my event dispatched when the user explicitly clicks
    the image.
    So in my itemRenderer I suppose I would write a function
    called "deleteRecord()", this function would dispatch an event and
    the file which actually contains the DataGrid would listen for the
    event and act accordingly. Is this right?
    If so, how would I pass a reference to which row I want to
    delete? The itemRenderer sits in its own file and seems to not have
    any knowledge of my <mx:DataGrid>
    My datagrid code is below which shows how I am using my
    itemRenderer
    <mx:DataGrid id="myFavoritesDG" x="0" y="0" width="330"
    height="110" dragEnabled="false" dropEnabled="true" >
    <mx:columns>
    <mx:DataGridColumn width="55" dataField="title"
    headerText="Action"
    itemRenderer="renderers.MyFavoritesItemRenderer" />
    </mx:columns>
    </mx:DataGrid>
    Any help appreciated.
    -Westside

    Your question is a good one and one a lot of people have.
    You are correct in your strategy. Have your itemRenderer use
    dispatchEvent, but when you create the event, set its bubbles
    parameter to true. This will allow the event to climb up the
    component chain. You don't need to have the DataGrid listen for
    this event; you just need to listen for it in the place where you
    want to use it so you can delete the record.
    To get the information you want, make sure your itemRenderer
    implements IDropInListItemRenderer. Classes which implement this
    will have a listData property and that holds the rowIndex. Check
    the documentation for this. If your class doesn't have it,
    implement it yourself, the documentation shows you how to do this.
    Now that you have the information you'll need to dispatch a
    custom event which contains the information. Again, check the docs
    for that.
    Finally, you will need to use ActionScript to listen for the
    event. Let's say the file in which the DataGrid is declared is the
    place where you want to listen for the event. Your custom event
    won't be an event the DataGrid normally dispatches, so you can't
    use MXML to declare the event listener. Instead, do it in
    ActionScript:
    mygrid.addEventListener( "deleteRecord", handleDeleteRecord
    and then declare handleDeleteRecord to have an event
    parameter of the type of your custom event.

  • Flash Islands : pass event parameters to Web Dynpro

    Hi,
    I am trying to pass a parameter to Web Dynpro using "FlashIsland.fireEvent()". The event is fired, but I cannot get the parameter.
    I WD I created a GACEvent :
    name = doSomething
    onAction = doSomethingAction
    In this Event I created a GACEventParameter
    name = returnText
    type = string
    In Flex I implemented following function :
    private function click():void
       var returnText:String;
       returnText = "Dit is een test";
       FlashIsland.fireEvent(this,'doSomething',returnText);
    This is the code of the action in WD :
    public void onActionDoSomethingAction(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent)
        //@@begin onActionDoSomethingAction(ServerEvent)
           wdComponentAPI.getMessageManager().reportSuccess(wdEvent.getString("returnText"));
        //@@end
    The event is fired, but I get the message "invalid message: null". What am I doing wrong?
    Regards,
    Jeroen

    Hi,
    Wrong syntax when you fire the event. The correct syntax is :
    flex code :
    var myParam:String = new String();
    var myValue:String = "Test";
    FlashIsland.fireEvent(this,"Event1",);
    Regards,
    Jonas

  • Passing event target name to text field

    Hi There,
    I'm new to 3.0 and can use some help here... should be an
    easy one for you experts...
    I just need to pass an event target name to a text field:
    square.addEventListener(MouseEvent.MOUSE_DOWN,downObj);
    function downObj(event:MouseEvent){
    targetObj = event.target;
    mydrag.visible = true;
    targetObj.startDrag();
    mydrag.addEventListener(Event.ENTER_FRAME, dragClip);
    target_txt.text = String(event.target);
    I've also tried:
    target_txt.text = event.target;
    but no luck so far..
    Any help would be highly appreciated.
    Cheers...
    Bruno Aun
    Flash + Coldfusion Developer
    http://www.BrunoAun.com

    That's right...
    target_txt.text = String(event.target
    .name);
    works like a charm.
    thank you!

  • Passing events from externally-loaded SWFs

    Hi,
    We have an externally-loaded swf that acts as a kind-of-a slide show.  After a user selects a particular subject from a mxml-based "menu" application, they push "buttons" in the SWF to go through a presentation, then on the last frame of the swf, I'd like to unload the swf and replace it with another "mxml" application.  How can this be done?  I have not tried to pass/capture events "up" from an externally-loaded swf before.
    Thanks,
    Doug

    Do you own those SWFs?  If so, they should dispatch an event from a known
    place like a SlideShowManager or something like that.
    Other folks "cheat" and bubble events or dispatch off of the systemManager
    and/or top-level application.

  • How to pass events from subpanel(s) to the main VI ?

    hi all,
    I found a lot of solutions to pass the events from the main VI to the subpanel(s) but none about passing the events from subpanel(s) to the main VI. In the attached VIs, I just want to generate an event in the main_VI.vi when I click on the button positionned in the subPanel1.vi. How can I do that ?
    thanks.
    Cedric
    Attachments:
    main_VI.vi ‏13 KB
    subPanel1.vi ‏6 KB

    Cedric,
    You could use a queue to transfer the button data to your main vi.
    See the attached files:
    subPanel1mod - Detects a button change and Enqueues the state.
    main_VI mod - uses the Timeout event to poll for data in the queue.
    main_VI mod1 - gets the queue data without having to poll.
    Like your orginals, these files are in LV2010.
    steve
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.
    Attachments:
    subPanel1mod.vi ‏10 KB
    main_VI mod.vi ‏16 KB
    main_VI mod1.vi ‏15 KB

  • It seems my "passed" events in my calendar are not on my iphone anymore...Is there a setting I have changed that caused them to disappear?  They do still appear on my Outlook calendar on my pc?  How can I get them to show up on my iphone again?

    Events that are in the past do not appear on my calnedar on my iphone.  Have I possibly changed a setting that caused them to disappear?  Can I get them back on my iphone as they do still appear on my Outlook calendar on my PC?

    Settings> Mail, Contacts, Calendars> in Calendar section change the Sync setting.

  • Can't pass event from WebDynPro to JspDynPage - why?

    I Created JSP project and embedded in main page script (in its title),
    which subscribes to event by EPCM API,
    EPCM.subscribeEvent("urn:ru.intertech.common.wd.component", "save",   go);
    and created WebDynPro page that fires event using, when pressing on some bution:
    WDPortalEventing.fire("urn:ru.intertech.common.wd.component", "save", navUrl);
    but first code newer receives that event...
    why so ?
    for test reason I tested firing EPCM event on same JSP page,
    and it was received,
    also
    I tested receiving Portal event  "urn:com.sapportals:navigation", "Navigate"
    it was received on same JSP page.
    both iViews is not URL isolated according their properties.
    WebDynPro package is:
    package ru.intertech.common.wd.component;
    note from else people expirence:
    Does it important that receiving and firing side must be in same package? as written there:
    https://www.sdn.sap.com/irj/scn/thread?messageID=462647
    "The problem was that I created the Sender Application in package "com.sender" and the Receiver Application in "com.receiver".
    I created them in the same package and it works."
    What means domain for JSP page or WspDynPro component?
    Does it important?
    =================
    JSP code is (changed script formattin to be able to post here, and removed else business content):
    [hbj_content  ]
      [hbj_page_title"]
      [script_type="text/javascript__"]
      //alert["title started"];
      //EPCM.subscribeEvent["urn:com.sapportals:navigation", "Navigate", eventHandlingFunctionName]; 
      //EPCM.subscribeEvent["urn:ru.intertech.navigation:epcm", "Navigate", eventHandlingFunctionName]; 
      //EPCM.subscribeEvent["urn:ru.intertech.navigation:epcm", "Navigate",   pop];   
      //EPCMP.subscribeEvent[ "urn:ru.intertech.navigation:epcm", "Navigate", window,"eventHandlingFunctionName"];
        EPCM.subscribeEvent["urn:ru.intertech.common.wd.component", "save",   go];
         EPCM.subscribeEvent["urn:com.sapportals:navigation", "Navigate", eventHandlingFunctionName]; 
         EPCMPROXY.subscribeEvent["urn:ru.intertech.common.wd.component", "save"  , window,   go];
      function eventHandlingFunctionName[ eventObj ]
         alert["title started=" + eventObj.sourceId + ": " + eventObj.dataObject  ];
      function go[ evt ]
         alert["go started=" ];
      </script>
       <hbj:form id="myFormId" >

    your reply is worth.
    what is the domains for views on one page?
    where to see it?
    Also, standard SAP MDM controls which we are using not working under any other browser except IE,
    I tested on FF and Google Chrome, they do not erform dynamic part of the controls.
    Despite this, debugging of scripts is important thing, so every piece is worth.
    One more detail:
    Also, two such a controls do not receive events from each other,
    but ony within self..
    why so ?
    Edited by: Vladimir Grigoryev on Jan 27, 2009 10:00 AM

  • Passing events out of

    Hi,
    I've built a GUI panel which I want to reuse in various places in my app.
    It's a JPanel featuring two JTextEntry boxes (each with a JLabel). The two text boxes use formatted, validating functionality to accept user start and end dates for a time period.
    When it comes to using this thing in my app, how should I generate events from it? Should I be generating ActionEvents or is that a no-no and only permitted on lower level Swing components?
    Should I generate my own event?
    Should I be fire a PropertyChangeEvent?
    I want to generate events like
      StartDateChanged
      EndDateChangethe class will have
      getStartDate
      getEndDatemethods.

    Should I generate my own event?
    You can, if you want.
    Should I be fire a PropertyChangeEvent?
    You can, if you want. This would be much better than to use ActionEvents.
    I want to generate events like
      StartDateChanged
    EndDateChange
    Then do that. There are no strict rules about things like this, it all depends on context, really. Personally, in this case I would probably create a dedicated listener/event, like you suggest.

Maybe you are looking for