A custom widget : Waterfall Display
Hi,
I developed a waterfall display (aka spectrogram) as a custom widget to explore the capabilities of JavaFX. It turned to be an interesting experience for me.
I want to share it with the community. An explanation is on my blog : [http://javafxwidgets.blogspot.com/]
Any comments and suggestions are welcome.
Altug
Nice!
Cheers,
Nuwanda
Similar Messages
-
Custom widget triggers - or call widget functions
The title says it !
Take for example three scenarios:
1. We have a lightbox display with several slides. Each slide has interactive content like buttons. Some of the buttons will cause the lightbox to close but at the same time we need the close button. So, more than one close buttons.
2. We need to navigate between slides in a certain order, so on the first slide, we dont need the previous button although it will have to appear as soon as we move on. Likewise, the next button should be removed on the last slide.
3. After opening a slide in a lightbox we want a css animation to play. The css is created externaly, its put into assets and linked from an html object. But when and how would we call the animation to start? The css fires up as soon as stuff is loaded but we need it to play exactly after the slide is brought into view.
• So the question is clear: Is it possible to do those from inside muse, or we need to create custom widgets from scratch? Like with jquery maybe.
• Is there a way to alter the default muse scripts, or simply call widget functions from our buttons? Example: button calls lightbox.close() or lightbox.next(); etc...
I'm sorry if it has been asked before, i just couldn't find something the way i've searched it. Maybe I'm asking the wrong way but I believe its clear. Anyway, there is not need for muse to do everything, if someone has a workaround would be also welcome!
Thanks alot!Hi Fabrice,
You should be able to use the cpCmndGotoSlide variable. I suspect that the problem is something with your path in Flash.
Can you post an excerpt of the code you use for your buttons in the Flash widget?
/Michael
Click here to visit the www.captivate4.com blog -
Chandrashekar, Alaiah <[email protected]> wrote
<snip!>
Do anyone know about developing custom widgets in Forte. I have a
situation were I need to develop a Ruler widget which is very similar
to the Line widget provided by Forte. I tried subclassing it from the
Line widget and it does not allow me to do that. IM(NS)HO, one of the (few!) real weaknesses of Forte is its barrenness,
in the genealogical sense -- most of its objects, including, apparantly,
all the graphic ones, can't have children. My particular graphic gripe
is the lack of a spin widget, but I sympathise.
In SOME cases you can get the "moral equivalent" of subclassed widgets
by other means. These include (but are not limited to!):
* Subclassing non-graphic objects to get a custom display (e.g. a
subclass of IntegerNullable that displays itself as Roman
numerals). I suspect this approach does not meet your needs.
* Writing non-graphic manager objects to manipulate a bunch of graphic
objects in standard ways to make them "look" kind of like a
custom graphic object. For example, one way to get a ruler might
be to put a panel on your window, and create a non-graphic
object that draws appropriately in that panel, and (using an
event handler which must be manually registered) responds to
events in it.
* Create a window that's just one big ruler, and nest that window in
whatever window you want to display a ruler. This is how I
simulated a spin widget.
When choosing among the last two alternatives, I go for the latter, more
out of habit than anything else. I believe that with a nested window you
get a simpler object; but on the other hand you can't usefully nest a
window in an array field (it simply doesn't function) or a mapped
CompoundField (it'll function just fine, but won't automatically update
the mapped object unless you do something to explicitly tell the nested
window what it's supposed to be updating).
You will find a sample app using nested windows in
${FORTE_ROOT}/INSTALL/EXAMPLES/DISPLAY/NESTWIN.PEX
Tom Wyant The opinions expressed in this document are
[email protected] those of the author, except for the
[email protected] following, which is William Shakespeare's:
"The first thing we do is, we'll kill
all the lawyers."
Henry VI, Part II, Act 4, Scene 2HI
The buttons used in the Program displayed by your link are mostly images used in the buttons, especially for the toolbar. So may have to get out your drawing board and start creating yorur own images. Also the button used for the inner frame, is something that can be achieved by creating a new look and feel for your application. Check out the Code Examples in you sdk, the MetalWorks example in particular. Go through all the looks and feels provided for that application and try to come up with your own, so that you frame buttons will look fancier.
Also search the net for IFrame. I can't remember the site where it is located but it provides you with Java classes for custom JFrames which a have very powerful and interest appearances.
These should get you on your way. Do remember:
1. Images for toolbar buttons and normal JButton
2. Custom Look and Feel for JFrame buttons
All the best.
ICE -
RSBBS Jump: AR Line Item Query to R3 Customer Line Item Display
I am attempting to create a 'Jump Target' from the 0FIAR_C03 AR Line Item Infocube to the R3 FBL5N Customer Line Item Display transaction.
The query that the jump is to be performed from an Aging query.
The user will be running this query for all transactions posted up to and including the end of the previous calendar month. The posting date is provided by the user when submitting the query (via variable 0P_KEYD2). The aging report works just fine.
Where I'm having the problem is when the user wishes to jump to the R3 transaction FBL5N to display the Customer Line Items. The user wants the 'Line Item Selection' in R3 to inlcude 'Open Items' (this button should be selected -- it is the default setting) where 'Open at Key Date' is to be derived from the query result in the Excel workbook.
I have created the RSBBS Sender/Receiver Assignment so that it goes and retrieves the line items from R3 for the correct customer. However, I have not been able to figure out how to populate the 'Open at Key Date' with the end Posting Date (OPSTNG_DATE) from the query.
I've tried every combination I can imagine in the 'Assignment Details' section in RSBBS, but so far I have not been able to make it work.
Has anyone else out there tried this?
If you have, were you able to populate the 'Open at Key Date' (ALLGSTID) field in the R3 FBL5N transaction? If you were able to do this, how did you do it?
All ideas appreciated . . .I'm still hoping that someone can help with this issue.
Here's a repeat of the original question:
I am attempting to create a 'Jump Target' from the 0FIAR_C03 AR Line Item Infocube to the R3 FBL5N Customer Line Item Display transaction.
The query that the jump is to be performed from an Aging query.
The user will be running this query for all transactions posted up to and including the end of the previous calendar month. The posting date is provided by the user when submitting the query (via variable 0P_KEYD2). The aging report works just fine.
Where I'm having the problem is when the user wishes to jump to the R3 transaction FBL5N to display the Customer Line Items. The user wants the 'Line Item Selection' in R3 to inlcude 'Open Items' (this button should be selected -- it is the default setting) where 'Open at Key Date' is to be derived from the query result in the Excel workbook.
I have created the RSBBS Sender/Receiver Assignment so that it goes and retrieves the line items from R3 for the correct customer. However, I have not been able to figure out how to populate the 'Open at Key Date' with the end Posting Date (OPSTNG_DATE) from the query.
I've tried every combination I can imagine in the 'Assignment Details' section in RSBBS, but so far I have not been able to make it work.
Has anyone else out there tried this?
If you have, were you able to populate the 'Open at Key Date' (ALLGSTID) field in the R3 FBL5N transaction? If you were able to do this, how did you do it?
All ideas appreciated . . . -
Hi, I'm making my portfolio in Muse, and I'm using the composition widget - lightbox display. I imported all the images and then I wanted to reorganize the thumbnails - and when I do that, the order in the lightbox doesn't change and so it's not the same as the order of the thumbnails (after rearranging them). Please let me know if there is a way to fix this quickly, or do I have to do it all one more time
The order the items display in a composition widget is the front to back order of the items. You can rearrange the stacking order of the thumbnails/triggers using the Layers panel and/or the Object > Bring To Front, Send To Back, etc. menu items to adjust the order they're displayed during auto play or when clicking the next/previous buttons.
-
Hi All,
I have a Credit Invoice which is open on VF03, but when I went to FBL5N customer line item display, I gave customer num and checked all open items, it is not there. Can someone please help me why it is not showing up in FBL5N.
Thanks,
Veni.Hi All,
I have a Credit Invoice which is open on VF03, but when I went to FBL5N customer line item display, I gave customer num and checked all open items, it is not there. Can someone please help me why it is not showing up in FBL5N.
Thanks,
Veni. -
Customer balance confirmation does not equal to customer line item display
Hi All
When I run F.17 transaction (program SAPF130D) the totals don't equal to "customer line item display" program (FBL5N) totals.
When I run it for a specific customer and company code, I can see that some items from the customer line item display are missing. These are regular items (invoices) like other documents that appear in the balance confirmation.
The selection parameters are the same and the date is equal - I run the report as of today.
Can anyone advice please?
Thanks
OferHi
The problem was because of a customer hierarchy issue. Some of the invoices were issued to different sold to but with the same payer.
It can be displayed also in the balance confirmation. I just need to mark the two check boxes:
"Head offices and branches" and "check alternative head offices". Excellent.
Now I have another problem, that in this case, this issue is mentioned in the output: "Dear customer, in this balance confirmation we added the next branches...etc."
Can this remark be eliminated from the output?
Thanks
Ofer -
T.code required for Vendor line item display and Customer line item display
Hi Gurus,
Pl provide me transaction code for "Vendor line item display and " Customer line item display apart from FBL1n for vendor and FBL5n for customers.
Kindly advise.
Regards,
SamarHi,
You could use these, for example:
S_ALR_87012103 - List of Vendor Line Items
S_ALR_87012197 - List of Customer Line Items
Just curious: what's wrong with FBL1(5)N?
Regards,
Eli -
I'm just starting to get into working with iBooks Author, so apologies in advance if this is a FAQ. I've search the forum and the web but haven't been able to find an answer.
I'm trying to link out to an external resource from within a custom widget I've created.
Instead of opening in Safari, the link is opening within the widget overlay. There are no browser controls, the content doesn't scroll and there's no way to get back to the widget's original content without closing and reopening the book. Closing and reopening the widget doesn't reset the widget state.
I can work around this if I have to, but I'm hoping someone here has a solution.I'm looking for an answer to this too. I found that you can do this in a normal Dashboard widget with widget.openURL("...") but for whatever reason the openURL method isn't available in iBooks. Still looking for a solution...
-
How to make a field in custom screen as display field in screen exit
Hi ,
I have created a screen exit for CO02 with a field for item text in header level as input field , when value is given and save button is cliked it gets updated in database but the problem is same field shows as input field in CO03 ( display mode ) .
Code which i have used .
in PBO
if sy-tcode = 'CO03'.
loop at screen .
if screen-name cs 'SUBSCREEN' or screen-name cs 'RESB-POTX1'.
( subscreen - screen name given in screen editor and resb-potx1 field name given in screen editor )
SCREEN-INPUT = '0'.
modify screen.
endif.
endloop.
endif.
and even i tried in PAI too .....
if sy-tcode = 'CO01' or sy-tcode = 'CO02'.
update resb set POTX1 = RESB-POTX1
where aufnr = i_aufnr.
elseif sy-tcode = 'CO03'.
*oop at screen .
*f screen-name cs 'SUBSCREEN' or screen-name cs 'RESBD-SORTF'.
SCREEN-INPUT = '0'.
modify screen.
endif.
endloop.
endif.
but itshows as input field only ........how to make that custom field as display field in CO03HI Andy,
Try this out.
FIrst check the sy-dynnr, if it is same as your custom screen number
in PBO of your custom screen
if sy-dynnr = 'YOUR_NUMBER' and sy-tcode = 'CS03'.
loop at screen
if screen-name = 'YOUR_SCREEN_NAME'
screen-input = 0.
modify screen
endif
endloop.
endif.
if it wont work they try using Tcode SHD0
Hope this will serve your purpose.
Regards
Ramchander Rao.K -
Customer Consignment stock displayed as available in MD04
Hi Experts,
Customer Consignment stock displayed as available in MD04
I have few stock at customer consignemnt which displayed as available qty in MD04.
Whether any parameter that controls this? some thing to do with availability check?
Pls suggest
Thanks,
Shettyclosed
-
How to change Custom widget title
Hello experts,
I have a widget titled as Custom Widget.How can i change
this title ?Hello,
By default SAP Widget Foundation accepts connections only from localhost, but it can be changed by removing line
<Set name="host">localhost</Set>
from middleware.xml in C:\Documents and Settings\<username>\SapFoundation
After this modification, host where widget tries to connect should be changed in widgets from 127.0.0.1 to your server host
Foundation at the moment is designed as component to run on the same box as widgets as it is responsible for Y! widget autoupdate and can use SSO with Secude
Eriks -
Adobe Form Custom Value Not Displayed
Hi,
In ISR Adobe Form , When I review the form , the values custom values are displayed.But When I click on display form, The blank original form is displayed.How can I populate the custom values in the display form...
Please help...
Regards,
Rheema Rahealhi,
I have designed an isr adobe form, I am able to enter the values in the form.When I choose send , I am able to get the notification number.
When I use the notification no in the transaction iqs2, All the cahracteristics in the form are blank.I want the values of the form to be stored.
Please help me getting the values in the adobe form after creating the notification
Regards,
Rheema Rahael. -
I would like to create a "component" -- basically a drop-down menu. Except that my drop-down menu will not select an item when a user clicks on it. The user must click on it for 2 seconds and then it will be selected. How can I create this custom widget/component?
Thanks for your reply. I was looking at AS 3 classes and in particular the Spark class DropDownList. I am thinking of creating a class that extends from DropDownList. Then overriding some method that will allow me to implement exactly when something should be selected (not just a click of the mouse but when the mouse is held down for 2 seconds). I am just having trouble finding which method this would be, maybe a public or private method or an event. I'm such a noob at this I'm sure this is obvious and either someone already knows it or it will catch their eye very quickly. This is the link to the DropDownList in case someone wants to take a glance at it: class http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/DropDo wnList.html I appreciate all your help.
-
Importing custom Widgets problem
hi everyone. I'm new to the forum, so I hope I'm posting in this in the correct area. Here's my issue: I am making custom widgets for an interactive tutorial for my work using Flash CS4. When I try to import or open the widget in Captivate 4 I receive the following error: "Not a valid Widget". I'm not sure if there is a specific setting that I am unaware of that I need to do in Flash before I publish it into a .swf or something. If anyone could help it would be greatly appreciated
PS: i made sure that all files were using AS3, and that both were set to use the Flash Player 9.nevermind.. i figured out that there were some compiling erros when I published my .swf .... lol.. all fixed and got my widget functioning in captivate
Maybe you are looking for
-
Hi All, Firstly I really don't know much about LCD TV's, Monitors etc... We need to buy a new tv for our bedroom and we are thinking a smaller (30'') LCD tv would be the way to go. Now I know they have DVI input so I can also use it as a display for
-
I tried to drag the program i wanted to uninstal to the trash but each time i try a window pops up and tells me i cant as the application is open and i know it,s not??? the program i want to uninstal is a pre paid mobile broad band, thank you Marie
-
Creating a screen shot field in FormsCentral
Can anyone tell me how I might create a field in my form for the form filler to insert a screen shot? I see there is a photo option, but I need THEM to paste in their screen shot.
-
Windows 7 won't complete installation (2)
Just received a new Asus M51AD-US001O RTL Desktop system, with a Asus H81M-E motherboard, 8GB DDR3, Windows 7 Home Prem 64-bit, which included a new Asus graphics card with DVI & HDMI ports, & a VGA port. I hooked up the monitor to the VGA port, pres
-
Error in exception can't figure out why?
hi iam new to oracle ..can't figure out the error in this code.. set serveroutput on declare e_m exception; pragma_exception_init(e_m,-1400); begin insert into dept_dup(dno) values(nULL); exception when e then raise_application_error(-20000,'exceptio