Floor layout with JavaFx

Hi,
I'm having a requirement to implement an interactive data center floor layout. It should display the different partitions in the data center and should display the server racks installed in them. by clicking on the cubical it should zoom into the racks and once click on the rack it should display the rack layout showing the servers and clicking the server it should display various configurations, etc in the server.
Can this be achieved with JavaFX and any starting tutorial to implement this would be much appreciated.
Thanks in advance.
Dushan

This can be achieved with JavaFX, but it is quite a bit of work.
Approach 1:
Draw your floor layout plan in a vector editor tool (such as Inkscape). Ideally the vector editor should support SVG. Extract the SVGPaths for the individual pieces of your floorplan. You can now recreate those pieces as individual components using SVGPath. Add mouse handling to respond to clicks which then change the position and zoom of the displayed view. Add mouse handling to display detailed configuration info.
Approach 2:
Create images for all possible views you will show (the overall floor plan, plus the various zoomed in views). Add mouse handling to respond to mouse clicks and the corresponding navigation logic to take to the different views.
Honestly approach 2 is probably the easiest, but isn't as 'pure' in that you aren't utilizing vector drawing.

Similar Messages

  • Starting with JavaFX 2.0 - Any doubts

    I'm starting with JAvaFX 2.0.
    I need to make a application, but a have any doubts.
    - Whats the better, make layouts (Forms) in FXML or JAva Code ? Because, i read any developers prefers use Java Code, to make complex layouts (forms);
    - JavaFX has a Date component ? I have not found it.
    Thanks
    Thiago

    Hi!
    1. I would recommend FXML, because it's much faster to operate with (thanks to Scene Builder -> http://www.oracle.com/technetwork/java/javafx/tools/index.html). Try to check this after you install Scene Builder: http://docs.oracle.com/javafx/scenebuilder/1/overview/jsbpub-overview.htm
    Moreover, by using FXML you split the GUI code and the logic code, making them much easier to maintain and test.
    2. There's no date component in the official JFX 2, but take a look here: http://jfxtras.org/
    Cheers!
    Edited by: zmirc on Jan 19, 2013 11:43 AM
    I forgot a link.

  • Line Layout with Reference Key in F-03

    Dear all,
    Iu2019m facing the following problem.
    I modified the line layouts for F-03 through O7Z4S. In particular I created a line layouts with the field Reference key 1. The problem is that in F-03, using this variant, the field XREF1 appeared always blank. The same thing happens for XREF2 while for XREF3  everthing is ok.
    Is something that I forgot in customizing?
    Thanks in advance

    Dear Alberto,
    I created the same - Reference Key in IDES it works if you create with text and then insert Reference key as part of Field with this.
    Hope this would surely help...
    Deven.

  • How do I create a crystal report layout with a table and borders

    My crystal report is a signin sheet. The sign in sheet has an ID column, Name column, Institution column, Place to signin column, and Weekday columns with checkboxes in each column for the visitor to checkoff.
    How do I display the data that is being used int he crystal report in a table layout with borders around each cell? And is it possible to center vertical alignment of the data within eacvh cell like Excel?

    Blahahaha! Great answer Deb!
    Seriously though... There is no vertical alignment in CR. There have been several past threads related to this issue and all of them have various workarounds. None of them are very elegant.
    The best workaround I've found (especially if you are grid or borders) is to turn off the boarders for the field itself and drawl a rectangle around the field(s). Now you can place the field in the lower portion of the rectangle and adjust the rectangles height to place the field text in the center of the rectangle.
    This will give you more control over the height of your elements than using a carriage return before the text.
    Jason

  • How to display 2 layouts with 2 different Header and Footer in a template.

    Hi,
    I am using XML Publisher 5.5. I have created one template which is having two layouts. I am using <?Start: Body?> and <?end body?> for displaying Headers and footers. Now my problem is, I need to display first layout with it's associated Header and footer and then second layout with other header and footer. But the two layouts should come in single template file. How is it possible?. Is there any work around? Please help me as this is the urgent requirement to my client.
    Thanks.
    Siva.

    No problem. Select Insert -> Break from the menu bar. Then select a "Section Break" - Next page.
    Header 1
    <?start:body?>
    Page 1
    <?end: body?>
    Footer 1
    ==================Section Break (Next Page)=================
    Header 2
    <?start:body?>
    Page 2
    <?end: body?>
    Footer 2
    Worked like a charm.
    Klaus

  • The background behind my pages has turned black, how do i get it to go back to grey? i have switched between preview, normal, bleed, slug and presentation and closed and opened in design and it is still black. I can't imagine layouts with the black backgr

    the background behind my pages has turned black, how do i get it to go back to grey? i have switched between preview, normal, bleed, slug and presentation and closed and opened in design and it is still black. I can't imagine layouts with the black background please help!

    or maybe the interface has been set to Dark?
    Go to Preferences > Interface tab, choose Light from Color Theme dropdown on Apearance section (upper part of the window)

  • COPA Report Layout with Object List (ALV)

    Hi,
    I have question about the COPA report layout with object list (ALV). Everytime I executed the report with ALV format, the amount for quantity column always shows with 3 decimal number, menwhile for amount column always follow by 2 decimal number.
    Can anyone help me regarding this matter? I do not know how to turn off the decimal number to be 0 in this type of layout, although in the form itself I already put 0 decimal number.
    Thanks.

    Hi,
    Better to raise this issue in CO Forum. You can expect some solution.
    regards

  • ALV Standard Layout with problem for excel download

    Hi, i have a alv grid report with this problem:
    I execute the report and see all data ok.
    chose the download option to spreadsheet.
    *When open the spreadshet only see headers and no data.
    The report have a standard Layout with 4 of 12 column selected, if i execute this report and add a new column for the pool the download works fine, if i save this new layout as default and execute the report again the download don't work fine.
    ¿Some idea? Thxs

    Just a wild guess. In your system, check the MS excel security settings. Excel->File->options->Trust center settings. We had some similar issues with excel columns visibility when you click on the ALV spreadsheet button or download which was corrected by changing the trust center settings. I don't exctly remember which settings affect this. You may have to compare the settings with another system (If it works fine in some other system which was the case in our issue). Pls ignore if not relevant.
    Regards,
    Gokul

  • Twitter4j AccesToken with JavaFX Browser

    I want to authentificate a user using an embedded browser with javafx. I can get the PIN (String) that twitter gives me but when I try to create the AccesToken it does not create it correctly. (I can't get my token or tokenSecret, both null).
    I use other browser such as djnativeswing ,it can get AccesToken,but javafx can't.what's the problem?Is it javafx can't support it ? If you know about it ,please tell me,
    thank you very much!

    Hello user,
    The problem may causes from below reasons:
    -Clean the cache of java.
    -Adjust your date and time of your computer
    -Sign the jar
    Thanks
    Narayan

  • Fluid Grid Layout with Sidebar

    I am fairly new to dreamweaver and trying to build a fluid grid layout with a sidebar which needs to span the full height of the website and I am having trouble. I cant get the sidebar to span multiple columns using the fluid grids. I know I can do it with pure css using display options but wanted to know if. Can do it visually using dreamweaver's built in tools and UI.
    Can someone point out if I am going about this correctly? I can provide more info if needed.
    Thanks.

    I started using FGL when first introduced. In the meantime they have improved quite a bit, but I was so taken aback that I decided not to go down that path again.
    I have used Foundation and am now using Bootstrap. Although I would prefer to use the former as I think that it is better, the general trend is towards Bootstrap.
    You can start with the free of charge Bootstrap extension.

  • UIX Custom table layout with ADF Bindings

    hello,
    Please point me to examples of binding ADF data controls on UIX table and also the UIX table layout with different row and col spans.
    Thanks in Advance.

    bump.

  • Layout with insertcomponent

    Hi all,
    I'm inserting components in a JTextPane using the insertComponent method.
    How can I use a layout with that? I want to have 2 items at the top and one at the bottom, when I resize my window, the components are shifted into one line
    Thanks a lot

    You don' use layout managers with a JTextPane. The text "flows" from one line to the next. A component is just considered part of the text.

  • Layout with rows defined by variables

    Joint Venture Name is one of our characteristics. We will create a planning layout with two rows, for two different Joint Venture Names selected by the user. The Joint Venture Names should be selected by the user, preferably when opening the layout using a planning folder.
    We are already using variables for making the user select year and period in other layouts. This is easily done by using variables in the planning level (or package) selection. But these values are only a part of the header area in those layouts.
    Variables may easily be inserted in the rows of the layout. The problem is to set their values. The variables are defined as Fixed Value. "Restriction of Value Required by User" is checked. When entering a range in the the Selection Conditions (or nothing), we get an error message when trying to insert the variable into the layout: Variable ASSET1 could not be replaced in row. The problem is we need a single value and not a range. We would like the user to be able to select that single value. Using "Set Variables" doesn't work. We are not allowed to select a value for those variables. No error message though. If we instead enter possible values in the Selection Conditions, one per line, we may use Set Variables to select a single value per variable and then insert them into the layout. The user will then be able to change value later. However, the number of values is large and may change. So adding all possible values is both time consuming to do the first time and to maintain. Any ideas how to avoid this?

    Alrighty! Got it working =]
    onClipEvent(Load){this.mt="Portfolio";
    this.mc=mt // used elsewhere for transition effects
    this.texter.autoSize = "left"
    rt = this.texter.textWidth
    _x=(_root.intro.footer.Home._x)+(_root.intro.footer.Home.rt)+10
    on(rollOver){this.gotoAndPlay(11)}
    on(rollOut){this.gotoAndPlay(1)}
    on(release){
    this.gotoAndPlay(21);
    _root.sectioncontrol.nextsection=mt;}
    What id like to know now if possible, is how to refresh the movie clips?
    In the last "link area" of the lower linkbar I have this line of code to determine the correct placement of the first link area upon which all the rest are aligned
    widther= (_x+((_root.intro.footer.Home._x)*-1)+rt)
    _root.intro.footer.Home._x=(widther/2)*-1
    And that places the "Home" link area in the correct location for what I'm looking for,
    since all of the other areas get their x locations on load, and I dont want them sitting there checking the area every frame, I know there is a "refresh" function, I'd just like to know how to apply it (when placing after the "middle location" code for home) to the rest of the clips =]

  • Difficult to achive the report layout with dynamic column names

    I have a report layout as below.
    So here the column names are dynamic.And each fixed row group has different calculations. I have a date parameter. If I select July 2013, then I need to show data from July 2012 to July 2013 with Columns(Jul-12, Aug-12...Jul-13). How to achive below layout
    with dynamic columns?

    Hi Sarayu_CM,
    According to your description, you want to filter the records of prior year based on only one parameter selection. Right?
    In this scenario, we can create two parameters. The first one is for user to select. The second parameter is based on the first parameter selection. We don't need to specify Available Values for the second parameter, but we should use expression to specify
    Default Values based on the first parameter selection. Use the expression below:
    =DateAdd("m",-12,FormatDateTime(Parameters!param1.Value))
    Then we just need to apply a filter on the matrix/dataset to get the records which the date is between values in these two parameters.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • What controls the space above 'maincontent' in CSS layout with header?

    In a freshly-downloaded CSS page layout with header (twoColHybLtHdr or similar), there is a space of about 20px between the bottom of the header box and the top of the maincontent box.   Because of this space, when a bottom border is added to the header and a left border to maincontent, the two lines don't intersect, which is what I want.  What controls this space so I can get rid of it?
    Thanks,  Joann

    Hi Joann,
    after formatting your text from "Ueberschrift 1" to "Kein" (translated from German DW)
    Header 1
    Header 2
    all spaces were gone.
    Hans-G.

Maybe you are looking for

  • How to include input user parameter values in XML report output?

    How can i include input user parameter values in XML report output. I a have a report which can be run by providing start date and end date. I would like to include value of these parameters in XML output to enable me to figure out dates for report,

  • OIM 11.1.1.3 installation issues

    Hi All, I am facing issue while trying to install OIM 11G (11.1.1.3.0). I have installed SOA 11.1.1.4.0, OIM 11.1.1.3.0 and have used RCU 11.1.1.4.0. After installing these components, I am trying to run the config.sh from the <IDM_HOME>/common/bin a

  • Upgrade stopped on phase MAIN_NEWBAS/PARCONV_UPG

    Hello, We are Upgrading our SAP CRM System from 5.0 to 7.0 (Ramp-Up version) / Oracle 10 / Windows 2003 The upgrade process stops with the following error: "Checks after phase MAIN_NEWBAS/PARCONV_UPG were negative" The Principal Errors are this: (PAR

  • Error processing message

    Hello Experts, I've received the following error when attempting to deduct inventory from SAP: "INSPECTION LOT CANNOT BE USED FOR DOCUMENT" I've seen many messages but never this one. Can you help? Many thanks in advance. Verroz

  • How to retrieve answers to my security question

    need help forgot my answers for my security questions....