Tree component - center vertically?  double-click open?

When I open nodes of the tree near the bottom, the new branches open down out of sight. Is there some way to make the tree bring a clicked node to the vertical center of the window?
Also, is there a way to make nodes open and close by double-clicking?
Thanks

Double-click:
    <Tree id="tree"
             doubleClickEnabled="true"
             doubleClick="onDoubleClick(event)"           
         ... />
            private function onDoubleClick(event:MouseEvent):void {
                if (!tree.selectedItem) return;
                tree.expandItem(tree.selectedItem, !tree.isItemOpen(tree.selectedItem));

Similar Messages

  • Configuring KDE (aterm transparency/double-click opening)

    I had fluxbox working and setup so aterm was pinned and transparent to look like it's part of the desktop. I recently decided to try out kde and wanted to do the same thing, but it opens with a black background instead of transparent. I can set  it to other colors though. I was curious if anyone else has experienced this and knew how to solve it.
    I'd be open to using other terminals, though I haven't been quite been satisifed with other ones I've tried. Konsole and Eterm almost work. Konsole leaves a small white line around the outline, even when I used the KDE menu to configure it to have no window border, that just removes the window decorations. Eterm also leaves a grey menu on top, which I'd prefer not to have, but didn't see an option to turn this off, though I'll admit I haven't looked too hard. I did get gnome-terminal to look the way I want, but it seems like running that probably loads more than I'd really like it to if I'm running KDE.
    Also while I'm posting, I thought I'd ask a probably simple question. I want to change the setting so double-clicking opens directories instead of single clicking. I remember from when I tested out knoppix when I first started there was an obvious place, but I can't seem to find it in the new version. There was a wizard when I first started KDE that let me choose, but I deleted it from the menu, and now can't seem to find it again.

    mcmillan wrote:I had fluxbox working and setup so aterm was pinned and transparent to look like it's part of the desktop. I recently decided to try out kde and wanted to do the same thing, but it opens with a black background instead of transparent. I can set  it to other colors though. I was curious if anyone else has experienced this and knew how to solve it.
    You didn't mention your previous method so I'm not sure how to try and duplicate your issue. I've never desired to eliminate the borders, but something like this should get you transparency (just advance the trailing number to increase transparency):
    $ aterm -tr -sh 70
    mcmillan wrote:Also while I'm posting, I thought I'd ask a probably simple question. I want to change the setting so double-clicking opens directories instead of single clicking.
    KDE Contol Center > Peripherals > Mouse > General

  • Mavericks Finder - how default to "double click opens new window"?

    I am old and set in my ways.  I like having the Finder open a new window when I double click a folder.  Since 1984 I've arranged Finder windows in positions and sizes that suit me and I have never seen any reason to change.
    In Mavericks however there does not seem to be a way to default to, "double click opens new Finder window".  My choices under Finder preferences are, open in the same window; or open in a tab.  I don't care for either.
    Does anyone know of a way to restore the traditional Finder behavior in Mavericks?  Thanks in advance.

    There is a great deal of logic behind this change actually
    And youll find me the LAST PERSON to complain about Mavericks really,......
    not ONLY is it FREE,.......its made my new Air just blazing fast
    My boot time now is 8 SECONDS (my goodness)
    Switching APPS is ultra-fast.........even on my Air, Photoshop opens up LIGHTNING FAST,.....just mind numbingly FAST!
    Thank You to Apple, MAVERICKS IS AWESOME!!!! I REALLY LOVE IT!!!

  • Unable To Double Click Open Folders On Desktop!

    I am running a G4 450 mhz with 1GB Ram OS 10.4.11. Recently I have not been able to double click open folders or launch applications from the desktop. The cursor also seems very jerky. I can open with a Command O or using Open from the Menu bar. I have zapped the pRam, Reset Open Firmware, Repaired Prefs with no luck. I would prefer not to do an archive and install if I do not have to, as I understand that sometimes files and apps get messed up. Any suggestions would be greatly appreciated. Also, if i have to do an archive and install I have another problem. i am unable to boot from my 10.4 CD as the CD/DVD drive kicks it out. I have tried the disk on other computers with no problem. Other OS boot from this drive so I do not think it is the drive or the disk. I could boot off of a external hd disk set as my startup disk but Apple tells me that it I do this and try to mount the 10.4 disk on the desktop and do a archive and install from there it will not work, only if I boot off of the disk holding down the C key at startup. I am lost. Can anyone help!!!

    Hi Hoshwa, and a warm welcome to the forums!
    Do you have another Mouse to try?
    I have tried the disk on other computers with no problem.
    If you do need to A&I, you can use another Mac with Firewire as an expensive DVD drive...
    If you have another Mac with Firewire & a FW cable, put the Install Disc in the other Mac, boot the Other Mac into Target mode...
    http://docs.info.apple.com/article.html?artnum=58583
    Boot the G4 with the Option key held down, see if the Install Disc in the other Mac shows up as a boot choice.
    At this point I think you should get Applejack...
    http://www.versiontracker.com/dyn/moreinfo/macosx/19596
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 5 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 6 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Trash old Log files.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files!
    Disconnect the USB cable from any UPS so the system doesn't shut down in the middle of the process.

  • Had installed the component of the Double Click Studio in my Flash CS6, but uninstalled it and now does not want to install.

    Had installed the component of the Double Click Studio in my Flash CS6, but uninstalled it and now does not want to install. Is in install mode screen and Extension Manager does not install. Help me!

    What you said confused me. You uninstalled it. You does not want to install. Why do you install it again? Could you explain it clearly?

  • Edit original (alt + double click) opens in an old version of CS

    I have been using the alt + double click to open Illustrator files that I have placed in my InDesign document for months with no problems. When I alt + double click the placed image, it has always opened up in the latest version of Illustrator - CS5.5.  However, starting about two days ago, it now attempts to open the file in an older version - CS 5.0.  I am sure that the Illustrator files and the InDesign document were both created with the latest version of CS. 
    Is there any way to set the preference for the alt+double click to target the latest version again?
    Thanks,
    Paul

    Eugene,
    You and Bob are correct. There is no CS5.5 (for Illustrator).  I sincerely apologize for inflating my latest Illustrator version by 0.4 points.  I purchased the "CS5.5 master suite upgrade" and when I look in the CS 5.5 folder I see Illustrator CS5.1.  Illustrator 5.5 or 5.1 - either way, I'm referring to the latest version of the software.
    I'm not "worrying" about anything.  All I wanted was a possible solution that would allow me to once again use the alt+double click to open and edit my Illustrator files in my latest version of Illustrator, not the previous version. Given that I have deactived the previous version, it makes it difficult to edit the file when it asks me to install CS5 again. Even if I hadn't deactivated it, I still would prefer to have the file open in the latest version, considering it had been doing that for the past two months before it suddenly stopped. I'm sorry that I was rude. It's just that "You are worrying about nothing" really isn't something that I can change in my preference setting to enable the alt+double click to work again.

  • Mouse can't double-click open folders

    I have a mac 10.4.11. I don't know what happened but my mouse can't seem to double-click and open folders in my desktop and folders within folders. I can can only do so by highlighting and using shortcuts on the keyboard. Can someone helps me fix this problem!?!

    I'm using the white mouse that came with the Mac desktop. Double click setting is set to fast but that isn't doing anything because it takes a million clicks before a folder opens. Maybe I did pressed on the wrong  button or something. I don't know. All I know is that I'm using keyboard short cuts to open folders and it's a pain!

  • Double click opens Nothing!

    doulbe clicking will not open a **** thing. I have to command O everything!
    how do i get it to open at double click?

    Check your mouse settings, restore the defaults, see if that helps.

  • Double Click event not firing in Fire Fox

    Hi,
    I am using the JDev version :11.1.1.5.0..
    I have an af:tree component. On double clicking the nodes , I have to perform some action in my managed bean.
    I have provided a client listener and server listener.
    But the Javascript is getting fired for all the nodes in IE and crome but in FireFox it is getting fired for only few nodes.
    Please find my source
    *<af:resource type="javascript">*
    *function treeDblClick(event) {*
    var source = event.getSource();
    AdfCustomEvent.queue( source, "doubleClickOnTree", {}, false);
    *</af:resource>*
    *<af:tree value="#{bindings.GpiServiceVO4.treeModel}"*
    var="node"
    *selectionListener="#{backingBeanScope.JobDetails.gpiCodeTreeSelection}"*
    *rowSelection="multiple" id="t3" autoHeightRows="0"*
    *binding="#{backingBeanScope.JobDetails.gpiServicesTreeBndg}"*
    *partialTriggers="::s10:cb12" fetchSize="-1">*
    *<f:facet name="nodeStamp">*
    *<af:outputText value="#{node}" id="ot14">*
    *<af:clientListener method="treeDblClick" type="dblClick"/>*
    *<af:serverListener type="doubleClickOnTree"*
    *method="#{pageFlowScope.welljobs_bean.selectCurrentRowAdSearchTableOnDblClk}"/>*
    *</af:outputText>*
    *</f:facet>*
    *</af:tree>*
    Regards,
    Srinidhi
    Edited by: 919343 on Feb 26, 2013 3:45 AM

    try moving the below code just above node stamp...
    <af:clientListener method="treeDblClick" type="dblClick"/>
    <af:serverListener type="doubleClickOnTree"
    method="#{pageFlowScope.welljobs_bean.selectCurrentRowAdSearchTableOnDblClk}"/>

  • Help! Can't use double click to open!

    I need some help here. I can't double click to open anything on my computer. Not my HD, or anything in my HD. The only way I can open my HD is to click on my HD icon then go to File-Open. And to open anything in my HD I have to click on the item and then go to File-Open. I can double click open iPhoto, but once I'm in iPhoto I can't double click any photos to open them. Instead I have to click on the photo and then click edit.
    Can someone please help?
    TIA!

    Okay, I did a search here and think I fixed it.
    Went to Apple Menu-Preferences-Keyboard & Mouse-Mouse. Drop down=Dashboard. Left side Drop Down=Primary button and Right side Drop Down=Secondary button and Expose=All Windows and Scrolling Options=Vertical & Horizontal.
    Hope this helps someone!

  • Double click on the node,ALV tree, subscreen

    Hi,
    I have a small requirement in ALV Tree
    left side i get a tree and when i double click on one of it , i'm trying to display the subscreen. even though i am setting the paramaters to the screen but i'm unable to get those values in the subscreen.
    example
    Name        Description                                                subscreen 0101
    xyz           xyz desc (double click on this)                  name    = XYZ
    ABC         abs desc                                                      descrip = xyz desc
    This is what the requirement is:
    Please help me out with the solution.
    Bhavana

    Hi Bhavana,
    Register your double click event in the ALV Tree program. Then call the respective subscreen using sy-ucomm value.
    IF NOT r_ucomm IS INITIAL.
        CASE r_ucomm.
          WHEN '&F03'.
            SET SCREEN 100.
            LEAVE SCREEN.
    endif.
    Refer the below code for setting the registering the event.
      CALL METHOD tree->get_registered_events
        IMPORTING
          events = l_events_s.
      l_event-eventid = cl_gui_column_tree=>eventid_item_double_click.
      APPEND l_event TO l_events_s.
      CALL METHOD tree->set_registered_events
        EXPORTING
          events                    = l_events_s
        EXCEPTIONS
          cntl_error                = 1
          cntl_system_error         = 2
          illegal_event_combination = 3.
      CREATE OBJECT l_events_receiver.
      SET HANDLER l_events_receiver->handle_item_click FOR tree.
    CLASS lcl_events_receiver DEFINITION.                       "#EC *
      PUBLIC SECTION.
        METHODS:
        handle_item_click FOR EVENT item_double_click OF cl_gui_alv_tree
            IMPORTING node_key fieldname.
    ENDCLASS.                    "lcl_handle_events DEFINITION
    CLASS lcl_events_receiver IMPLEMENTATION.
      METHOD handle_item_click.
        PERFORM employee_data USING node_key fieldname.
        CALL SCREEN 300.
      ENDMETHOD.                    "HANDLE_ITEM_DOUBLE_CLICK
    ENDCLASS.                    "lcl_events_receiver IMPLEMENTATION
    Thanks.
    Ganesh R K
    Edited by: Ganesh.rk83 on Jun 23, 2011 11:21 AM

  • Open a camera raw file by double clicking it in Windows Explorer

    I am running Lightroom 1.3.1 on a personal computer running Windows XP. Is it possible to double click open a camera's raw file (in my case it is a Canon camera CR2 file) that I can see within an open folder in Windows Explorer, and have the Lightroom application start up to display the image?
    I tried to "associate a file type to a program application" by right clicking the raw file, choosing Open With, Choose Program, I could not find Lightroom under the default list Other Programs so I browsed to the LR application that was found in the Programs folder to select it, and then I chose "always use this selected program to open this kind of file".
    Now when I open a folder in Windows Explorer using the icon types display, I see an icon with an "A" for Adobe showing up for all of the raw files in that folder, so it appears to be associating the file correctly to the LR application. However when I double click on a raw file to open it there is an error message that comes back stating the program is "not a valid Win32 application". Subsequently the file does not open up to view the image.

    The simple answer is No. So remove your association of images from the "open with" Lightroom. It does not work that way and never will.
    As you may know, Lightroom is a program that allows you to manage your images and a key part of its operation is a database file; So when you start Lightroom, you cannot even get it to open an image file directly from disc; in other words it does not allow you to "browse" for images and display them. (use some other program to do that, e.g. FastStone image viewer. I think it will display Canon CR2 files, it does work for Nikon's nef files.)
    The key to understanding Lightroom, is that you create a catalog file ( the database) and then import pictures into that database. Then, within Lightroom, you can browse through your pictures in the Library module; (and of course you can do a lot more than that in the Develop module etc).

  • Using office outlook under parallel desktop double click on an Excel attachement does not open the document in Excel

    using office outlook under parallel desktop double click on an Excel attachement does not open the document in Excel.
    double-click opens Excel Office 2011 for mac without the document.
    It should open the document in Excel 2010 for Windows.

    In Parralells, choose the file you want to open.
    Right Click on it and choose Properties.
    In the General Tab you will see "Opens with:"
    Click the "Change ... " button.
    Then choose Excel 2010. The checkbox below should be set to "Always use ... "

  • Double click doesn't open folder

    when i double click on folder....the message appears as 'This file doesn't have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel
    '...but double clicking opens all other files normally.....what is the problem?

    Check this link: http://www.sevenforums.com/tutorials/19449-default-file-type-associations-restore.html I think the problem is with the "Directory" file assoc. Remember to back up your durectory before you make any vmchanges and read the instructiona before
    you do anything.

  • How to override the default height of tree component...

    Hi,
    Can anyone please tell me how to override the default height of <af:tree> component.
    Actual Problem:
    I have a PanelBox in which I have a ShowDetail component. ShowDetail contains Tree component. When I click on ShowDetail item the Tree component have to be displayed. But, PanelBox is expanding to TREE default height(27.27 ems) instead of expanding to exact height of Tree.
    How to manage this issue?
    Thanks
    -Sukumar

    Did you already try
               <af:treeTable value="#{bindings.DashProjectPhasesDev.treeModel}"
                                  var="node"
                                  selectionListener="#{bindings.DashProjectPhasesDev.treeModel.makeCurrent}"
                                  rowSelection="none" rowBandingInterval="0"
                             inlineStyle="width:810px; height:1100px;"> Check the last line with inlineStyle...
    Julian

Maybe you are looking for

  • Add Server to Server Pool failed

    Hi, All! When you try to add a server to the pool, is an error ... Tell me what could be wrong? Hardware: Server: IBM x3550m3 - OVMSERVER1 ip 192.168.1.247, 10.20.2.1 Server: IBM x3550m3 - OVMSERVER2 ip 192.168.1.248, 10.20.2.2 Storage: IBM DS3524 -

  • Getting "file failed to write" error while syncing.

    I am syncing IPADs and IPODs (big family) over USB to a windows based machine.  During large syncs it often fails with a message like "file failed to write."  It is random as to which file fails.  In fact if I keep trying it eventually syncs everythi

  • Database Table Fields Display - Alpha only?

    When you are working with dynamic sites, and have the database tables interface open.. if you click a table, the fields come up in alphabetic order, rather than table order. This is very different than most tools. Is there a way to disable the alphab

  • Canon 1Dc camera raw plugin

    When can we expect to see a plugin for photoshop, to support camera raw for the canon 1Dc.  We are in a disparate need ASAP

  • OpenGL for java

    Hello, everyone Who can share the OpenGL package for Java to me, or give me a link to download ? thank you! ^_^