Painting a group of nodes

Hi,
Is it possible to paint a group of nodes which use some effects into an image of an ImageView? What would be the best approach?
Thanks

Let me see if I have got this right - you have a group of nodes with some effects applied to them - lets say a group of rectangles with an inner shadow applied to it and you want to show this as an image in an imageView ?
The short answer is No- since ImageView takes instance of Image class and not a node as a value for its image attribute.
You can display a group of nodes with effects on your scene, so why convert it to an image?Even if you want to, you can take a snapshot of the group, edit it in a image editor, store it as an image and load it into a ImageView -although that's kind of a roundabout way of doing it.
What is it that you are actually trying to achieve here ?
Edited by: sriman001 on Dec 17, 2008 10:25 PM
Edited by: sriman001 on Dec 17, 2008 10:26 PM

Similar Messages

  • Cluster group on node B (app1) failed to start after applied win2003 SP2

    Hi,
    i followed microsoft kb174799 to apply SP2 on both ms-cluster nodes namely DB/APP1. SAP-R/3 cluster group on node B (APP1) failed to start after i did step 13
    Thanks & Regards,
    Kelvin

    Hello,
    Did you follow the procedures from note 985137 to apply the SP2
    Please check procedure in this note.
    985137    Service Pack Installation for SQL Server 2005
    regards,
    John Feely

  • Resource group and node

    Hi to all.
    How to attach resource group and node?
    i.e. when i shutdown my node0. All resources switch to node1.
    I want:
    When my node0 boot then my resource group switch back.
    How I should make this?
    Thanks

    On node1:
    nfl-node1# clrg show | grep Nodelist
    Nodelist: nfl-node2 nfl-node1
    Nodelist: nfl-node2 nfl-node1
    Nodelist: nfl-node2 nfl-node1
    nfl-node1#
    On node2:
    nfl-node2# clrg show | grep Nodelist
    Nodelist: nfl-node2 nfl-node1
    Nodelist: nfl-node2 nfl-node1
    Nodelist: nfl-node2 nfl-node1
    nfl-node2#

  • Report Painter - Report group doesnot exist

    Hello Expert
    I have done the development of new report and report groups through report painter. I did the assignment of report to report group, Also i could able to access the report through T.Code GR53 / GR55 codes.
    I have done the Generate report option (Shift +F8) option through T.Code GR52 -> got the message that " Report group ZXXX has been generated". Also did the " Mass generator " and no error are found.
    I could able to assign the T.Code through SE93 in my development client. I did the trasnport the development to Unit Testing Server.
    In Testing Server, if i try to use the T.Code ... i am getting the message as " Report Group does not exist with message number - GR409. Even thou, i am able to access the report and report group directly through GR53 / GR55.
    Kindly guide me, is there any step i have missed ?
    Regards
    Anil Kumar

    Hello Eli
    Thanks for your reply,
    I did the Mass Generator option in "TEST System" also.
    I am not getting any error message & all are in "green color"
    Still i am getting the same message " Report Group Does n't Exist"
    Kindly guide to me over come the issue
    Regards
    Anil Kumar

  • Tcode attachment to a report painter---User group Creation

    Hi all,
    i created a form using fgi4 using Report Painter. And attaching the form to a Transaction Code.
    For creating Transaction Code I Did the following Steps.
    SE93 ---> taken the option parameter transaction .
    1.Taken the default valuse for transcation is START_REPORT
    2.skiped initial Scree = kich this one
    3.screen = 0.
    4.cliclked all GUI check boxes
    5.last one , i entered values like this
    D_SREPOVARI-REPORTTYPE = AQ
    D_SREPOVARI-REPORT = GP469DWDAEAN5E52BZPW1YLB66I
    After saving the transaction when i run the tcode it is not getting executed and
    on the bottom of the screen am getting as "User group GP469DWDAEAN has not been yet created"
    Please Help

    Hi venkat,
    Do as below
    To create a TCode, follow the steps below.
    1) Go to Transaction code SE93, Enter TCode Name and Press Create.
    2) Give short Description and select Parameter Transaction, Press Enter
    3) Select Transation Radio Button and write START_REPORT in the next text
    box Also Check the box Skip Initial Screen.
    4) On the bottom of Screen (default Values), Enter Parameters
    i) Name = D_SREPOVARI-REPORTTYPE. Value = RW
    ii) Name = D_SREPOVARI-REPORT Value = Your Report Group Name (Say ZGrp)
    5) Save and Execute.

  • Attach TCODE to a report painter---User Group Creation

    Hi all,
    i created a form using fgi4 using Report Painter. And attaching the form to a Transaction Code.
    For creating Transaction Code I Did the following Steps.
    SE93 ---> taken the option parameter transaction .
    1.Taken the default valuse for transcation is START_REPORT
    2.skiped initial Scree = kich this one
    3.screen = 0.
    4.cliclked all GUI check boxes
    5.last one , i entered values like this
    D_SREPOVARI-REPORTTYPE = AQ
    D_SREPOVARI-REPORT = GP469DWDAEAN5E52BZPW1YLB66I
    After saving the transaction when i run the tcode it is not getting executed and
    on the bottom of the screen am getting as "User group GP469DWDAEAN has not been
    yet created"
    Please Help.

    See venkat ,
    steps
    Goto  tcode  : ggr3 ..
    from the  library  i took one  form  .... executed  ...  from the selection   <b>System ->status  program name  .</b>
    i took the   program screen  name....
    se93 
    new  <b> trascation  code  type   report type  </b> ....   <b>i didnot  used  parameter type </b> .
    saved   executed  it was working fine  .
    if you want  authorisation  group you can  give  here  or else   basis  will takecare of  it  .
    Girish

  • Delete Report painter from group

    How to delete a Report painter from a group which is assign to it.
    I mean I have created a report assign it to a group to run it. But I want to delete it can some tell what is the way to delete it.
    Regards,
    Kiran
    Message was edited by:
            Kiran Chopade

    Hi,
    You can delete a report from a report group from transaction code GR52.
    Enter the report group in transaction code and press enter. It will display the reports attached to the report group. Select the report which needs to be deleted and click on delete ?(red icon).
    Thanks
    Murali.

  • DBCA did not see the ASM disk group in NODE 2 but see in NODE 1

    Are there anyone who encountered creating a database using DBCA with ASM as file system?
    Our issue before is in both nodes the DBCA did not see the ASM disk group.
    But after setting the TNS_ADMIN in both nodes and running the DBCA as administrator in Node 1, the DBCA able to see now the ASM disk group. Unfortunately, in Node 2 it didn't work out?
    So we didn't know why is it from Node 2, the DBCA still didn't see the ASM disk group?Since it is both the same.
    Any ideas? Please advise.
    For you information, we are using Windows 64-bit, Oracle 11g R2
    Thank you in advance for those who will respond.
    Edited by: 822505 on Dec 20, 2010 7:47 PM

    822505 wrote:
    Are there anyone who encountered creating a database using DBCA with ASM as file system?
    Our issue before is in both nodes the DBCA did not see the ASM disk group.
    But after setting the TNS_ADMIN in both nodes and running the DBCA as administrator in Node 1, the DBCA able to see now the ASM disk group. Unfortunately, in Node 2 it didn't work out?
    So we didn't know why is it from Node 2, the DBCA still didn't see the ASM disk group?Since it is both the same.
    Any ideas? Please advise.
    For you information, we are using Windows 64-bit, Oracle 11g R2
    Thank you in advance for those who will respond.
    Are the disks given to the ASM are visible from Node2?
    Aman....

  • Grouping tree nodes

    Hi,
    Here is a tricky one that I have got. Not sure if I am being over creative here or asking too much from apex!!
    Let say I have a contracts table which stores parent child relationship between various contracts. the structure is
    contract_id, contract_number, contract_type,parent_id
    I can create a simple tree which displays as below.
    Parent1
    child1
    child2
    child3
    Now how can i display a tree which groups all the child contracts by their type and adds an extra type node between parent and child. something like this.
    Parent1
    Type1
    child1
    child2
    Type2
    Child3
    Any help is highly appreciated.
    Many Thanks,
    Bhavesh

    Hi Bhavesh,
    Have a look at: Re: Tree Help
    Basically, you need to create some sql that will provide you with id and parent_id values only for each record. In your case, this would mean that you would have to use the UNION ALL functionality to scan your table twice. The first time to get the child/parent data (child/type in your example) and the second time to get the parent/grandparent data (type/parent in your example).
    The issue would be ensuring that you can maintain a relationship throughout the structure. In the above example, IDs are all numbers and some have been "bumped up" by adding a large number to the actual value - this needs to be done wherever that ID is needed on both run throughs and to ensure that an ID in the output is unique.
    Andy

  • Grouping property nodes

    Hi there, I'm creating a DAQ application wich reads in 64 channels. Now I want to enable and disable certain items in the front panel using property nodes. You may understand that this would take a lot of time considering it's a 64-channel DAQ application. Does someone has any idea how to group certain front panel objects so I can use only one property node for multiple objects? Or is there another way?
    Another question:
    How can I automaticaly read in a front panel datalog file so it remember names I entered last time I used the application?
    thanks, Bert.

    > What I'm trying to do is:
    > Grey out all 64 channels (1 channel = a string control, numeric
    > indicator and two check boxes) when the acquisition begins (pushing a
    > button). So this would take me 64*4 = 256 property nodes and I thought
    > that there must be an easier way.
    >
    Consider putting the string, numeric, and check boxes in a cluster.
    Place the cluster in an array, and grow it vertically to show 64
    elements. If your layout has several columns, make a copy of the array
    and make say four of them with 16 rows each.
    On the diagram you will be able to set the array properties easily, but
    you will not be able to set properties for individual cells within the
    array.
    This will also affect how you access the controls. Instead of 64x4
    terminals all over the diagram, you will just have the arrays, and you
    can index and unbundle when you want a data element. If you normally
    deal with the 64 displays, this will be very convenient. If you often
    need access to individual elements, I'd recommend making a subVI icon
    where you pass in the array and the index and it returns the four
    subelements as outputs. This will probably clean up your diagram as
    well as simplifying the graying of the display.
    Greg McKaskle

  • Use of grouped property nodes

    HI,
    I'd like to know if there is a way to use a  property node like  " value "  for a group of controls without doing right click /property node /value on each control.
    Thanks
    Olivier

    There is little reason to have many direct value property nodes in any given diagram. (I am just mention this because you explicitly mention "value"). A local variable has the same functionality but is more efficient. (of course, often you can use a wire or shift register for even cleaner code).
    (see e.g. http://forums.ni.com/ni/board/message?board.id=170&message.id=153611#M153611)
    There is also the shared variable, if you run one of the newer LabVIEW versions.
    I am afraid that you use all these value property nodes as a poor man's substitute of "variables", breaking all dataflow in the process. Can you explain why you need so many???
    (btw: another way to copy a property node would be to ctrl+right-drag an existing property node, then right-click it and "link to...(select another control)". This is not faster in your case, but is quite useful if you want to duplicate a property node that has many properties defined.)
    LabVIEW Champion . Do more with less code and in less time .

  • Report Painter - Format group for columns in more than one section

    How do have different decimals for columns in different sections.
    For. e.g I have three sections
    one for quantity (I do not need decimals)
    two for dollars (I do not need decimals)
    three for formula dollar upon quantity (I need to have two decimals)
    I made format group 0 (with no decimals) for first two sections and format group 1 (with two decimals) for the last section.
    4.6c does not consider format group 1 and makes every section look alike with format group 0 i.e, no decimals.
    How to overcome this?

    Anders,
    I replied earlier but after reading you post several times I realized that I probably misunderstood what you want. This is what I now understand. You have several resources, each of who may work on various parts of design tasks, assembly tasks, and test
    tasks. For example, let's say your resources are Joe, Bill & Tom. Joe is assigned to a design and test task, Bill is assigned to an assembly and test test task and Tom is assigned to a design task, an assembly task and a test task (Tom is very versatile).
    You would like to see a report showing just the assembly tasks and the amount of work each of the three resources is assigned on those tasks.
    Assuming the above is a correct interpretation, you will need to employ three processes, some VBA, grouping and filtering.
    1. First, designate a custom text field for group identification (e.g. use Task Text1 to enter "design", "assembly", or "test" for each task)
    2. In order to use grouping and filtering effectively,  you will need to translate the Task Text1 information to the Assignment Text1 field. To do that, go to the MVP website at: http://project.mvps.org/faqs.htm, and run the macro in FAQ 37.
    3. Now go to the Task Usage view and set up a group with Text1 as the first group by element and Name as the second group by element. Check the box to group assignments and not tasks. Then select "assignment" for field type of the second element
    (i.e. Name).
    4. Apply the group
    5. To show only the work hours for each resource in a specific group, autofilter on the desired group. Note, if you do not run the macro to populate the Assignment Text1 field with the Task Text1 field, the filter will yield nothing.
    Hope this helps
    John

  • Re-group child nodes

    Hello,
    We are using BI Publisher embedded in Oracle EBS 12.1.3
    The XML produced by DATA definition has following structure (mocked-up for simplicity)
    <DOC_DATA>
         <DOC_FLOW>
              <DOC_ID>1456</DOC_ID>
              <DOC_RECIPIENT>[email protected]</DOC_RECIPIENT>
              <DOC_DETAIL>
                   <DOC_NAME>ALERT</DOC_NAME>
                   <DOC_DATE>14-Jan-2013</DOC_DATE>
                   <DOC_DESC>test data 1</DOC_DESC>
              <DOC_DETAIL>
         </DOC_FLOW>
         <DOC_FLOW>
              <DOC_ID>1456</DOC_ID>
              <DOC_RECIPIENT>[email protected]</DOC_RECIPIENT>
              <DOC_DETAIL>
                   <DOC_NAME>EOL</DOC_NAME>
                   <DOC_DATE>10-Jan-2013</DOC_DATE>
                   <DOC_DESC>test data 2</DOC_DESC>
              <DOC_DETAIL>
         </DOC_FLOW>
         <DOC_FLOW>
              <DOC_ID>1456</DOC_ID>
              <DOC_RECIPIENT>[email protected]</DOC_RECIPIENT>
              <DOC_DETAIL>
                   <DOC_NAME>PACKAGING</DOC_NAME>
                   <DOC_DATE>20-Jan-2013</DOC_DATE>
                   <DOC_DESC>test data 3</DOC_DESC>
              <DOC_DETAIL>
         </DOC_FLOW>
         <DOC_FLOW>
              <DOC_ID>1798</DOC_ID>
              <DOC_RECIPIENT>[email protected]</DOC_RECIPIENT>
              <DOC_DETAIL>
                   <DOC_NAME>ALERT</DOC_NAME>
                   <DOC_DATE>11-Jan-2013</DOC_DATE>
                   <DOC_DESC>test data 4</DOC_DESC>
              <DOC_DETAIL>
         </DOC_FLOW>
    </DOC_DATA>
    Required output of RTF template is:
    DOC ID: 1456
    DOC NAME
    DOC DATE
    DOC DESC
    ALERT
    14-Jan-2013
    test data 1
    EOL
    10-Jan-2013
    test data 2
    PACKAGING
    20-Jan-2013
    test data 3
    DOC ID: 1798
    DOC NAME
    DOC DATE
    DOC DESC
    ALERT
    11-Jan-2013
    test data 4
                                                                                  *End of Report*
    How should we write the for-each grouping logic such that child under common parent element DOC_ID (e.g. 1456) can be printed together?
    Thanks for your inputs!

    xml not well formed
    <DOC_DETAIL>
        <DOC_NAME>ALERT</DOC_NAME>
        <DOC_DATE>14-Jan-2013</DOC_DATE>
        <DOC_DESC>test data 1</DOC_DESC>
    <DOC_DETAIL>
    must be
    <DOC_DETAIL>
        <DOC_NAME>ALERT</DOC_NAME>
        <DOC_DATE>14-Jan-2013</DOC_DATE>
        <DOC_DESC>test data 1</DOC_DESC>
    </DOC_DETAIL>
    for your output you can use
    <?for-each-group:DOC_FLOW;./DOC_ID?><?sort:current-group()/DOC_ID;'ascending';data-type='text'?>
    doc-id: <?DOC_ID?>
    Doc Name
    Doc Date
    Doc Desc
    <?for-each:current-group()/DOC_DETAIL?> <?DOC_NAME?>
    <?DOC_DATE?>
    <?DOC_DESC?> <?end for-each?>
    <?end for-each-group?>

  • Possibility to pause drawing of a scene or group of nodes temporarily

    Is there any way to temporarily pause the javafx runtime drawing operations?
    The issue I'm having is that I have a sort of physics simulation running with tens of different physical objects. The objects have their x and y co-ordinates
    bound to circles that are used for visualization.
    Now, while I'm doing the physics calculations inside Keyframe, it seems that for each location update of the objects, the screen gets a refresh and this grinds the whole simulation to snail speed.
    So if there would be a way to disable the drawing temporarily, maybe the performance would be better?
    Like this:
    disableDrawing()
    updateCoordinates()
    enableDrawing()

    After a quick look, I didn't see anything in the API that seems to do exactly what you are asking (I may have missed it), but I can think of a few ideas that might help:
    1. The most obvious solution is to just write your own listener, or update trigger, instead of binding.
    2. Are you able to drive the physics simulation yourself? If so, I would just step the physics simulation multiple times for each view keyframe, or sync the number of steps with what can actually be handled by the view (javafx). After all, animation doesn't normally exceed 30 fps, so binding the view to a model that is updated say, 90 times a second, is a bit excessive.

  • Displaying custom node group sequences (and their creation)

    Hi,
    firstly my usual disclaimer :) I am a newbie at JavaFX and only jump back in when I have a little time here and there.
    What I'm trying to achieve, is to create an Object call MyItem which is essentially a Group with a rectangle, image and text. I want to be able to create multiple of these MyItem's and add them to a sequence (list, array).
    Then do a foreach item MyItems --> insert into myGroup.content[];
    But it keeps saying that either a Node or a Sequence is not what it's looking for...
    See below which should be able to describe the problem better than my confusing explanation above:
    Main.fx
    package exampleitems;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.paint.LinearGradient;
    import javafx.scene.paint.Stop;
    import javafx.scene.paint.Color;
    import javafx.scene.Node;
    public var stg = Stage {
                title: "TestApp"
                scene: Scene {
                   fill: LinearGradient {
                      startX: 0.0
                      startY: 0.0
                      endX: 0.0
                      endY: 1.0
                      stops: [
                         Stop {
                            color: Color.web("#0c8ec4") //Color.BLACK
                            offset: 0.0
                         Stop {
                            color: Color.web("#0a1945") //Color.GRAY
                            offset: 1.0
                   width: 800
                   height: 600
                   content: []
                resizable: false
    var man=Manager{};
    public function insertThem(){
       var myItemsHere = man.getItems();
       for(node in myItemsHere){
          insert node as Node into Main.stg.scene.content;
    function run(){
       stg;
       insertThem();
    }Manager.fx
    package exampleitems;
    public class Manager {
       var itemsListHolderAA=AAItems{};
       package function getItems(){
          return itemsListHolderAA.getItems();
    }AAItems.fx
    package exampleitems;
    public class AAItems {
       var icon="{__DIR__}images/AA.png";
       package function getItems() {
          var i = 1;
          var myItems=[];
          //while(i < 10){
             insert Items{xPos: 20*i, yPos: 20*i, iconItem: icon} into myItems;
             //i++;
          return myItems;
    }Items.fx
    package exampleitems;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.paint.Color;
    import javafx.scene.CustomNode;
    import javafx.scene.Node;
    import javafx.scene.image.ImageView;
    import javafx.scene.image.Image;
    import javafx.scene.text.Text;
    import javafx.scene.text.Font;
    public class Items extends CustomNode{
       public var xPos: Integer;
       public var yPos: Integer;
       public var iconItem: String;
       override protected function create () : Node {
          Rectangle {
             width: (750), height: (470/20)
             fill: Color.TRANSPARENT
             stroke: Color.web("#0c8ec4") //Color.TEAL
             strokeWidth: 1.0
             arcWidth: 20
             arcHeight: 20
             smooth: true
          ImageView {
             translateX: 2, translateY: 1
             image: Image {
                url: iconItem
             fitWidth: (470/20)
             fitHeight: (470/20)
          Text {
             translateX: ((470/20)+5)
             translateY: ((470/20)*0.666)
             font : Font {
                size: 10
             content: "Hello!"
    }As you can see, my main problem seems to be that the last Node in Items.fx gets displayed, and not all three (try commenting out Text node and image appears etc...)
    So, either I get the Items.fx to return as a Group (?), but then I get the error that it expects a sequence etc.
    So how can I get the myItems[] in AAItems.fx to fill up with a "group" of nodes and then be able to iterate through them on the Main.fx ?
    I hope that's clear? :/
    What I want is a list of Items(.fx) created in AAItems(.fx) and be able to then display (iterate through) them in Main(.fx).
    I'm sure it's a concept flaw on my part on how to implement it. Any help appreciated.

    Oops. I guess not "exactly" what I wanted:
    The Stack container arranges its managed content nodes in a back-to-front Stack. The z-order of the content is defined by the order of the content sequence with content[0] being the bottom and content[sizeof content-1] being the top...
    D'Oh! Just replacing Stack with Group does the job... man... I need a holiday!!! :D

Maybe you are looking for

  • Report miss match error

    hi guys, Can anyone tell me what is the easiest way to find out Report miss match error of  bi with r3 report especially in fi. thanks in advance, regards, Bunty.

  • Button Event Handler in a JList, Please help.

    Hi everyone, I have created a small Java application which has a JList. The JList uses a custom cell renderer I named SmartCellRenderer. The SmartCellRenderer extends JPanel and implements the ListCellRenderer. I have added two buttons on the right s

  • Help with converting pdf to excel

    I have a pdf of an excel file which I need to convert back to excel.  The problem is that when I convert it only half the pages convert correctly to excel but the first three pages are unreadable.  Any suggestions as I am stuck on why it only convert

  • IPod white screen of death... if I can even get it on.

    So my iPod randomly decided to stop turning on. It does not respond to soft reset at all, and it does not respond when I try and connect it to a computer (I've tried three different ones). The only time it turns on, is in my iPod FM transmitter playe

  • HT1848 how do i get my apps and music from my ipod to my iphone

    how do i get my apps and music from my ipod touch to my iphone?????????