Hide the expansion icon on a jtree.

I need to hide the expansion icon (the "+") on a jtree.
I tried to use DefaultTreeCellRenderer and the L&F options, but they hide all of the "+" icons of the tree. I need to hide the icons depending if the node has no-leaf icons.
Thanx.
pmadridb

hi,
you can change the property of common section view attribute. which is default in month. if u use input date component , i think you can overcome your problem..

Similar Messages

  • Hide the help icon in sharepoint 2010

    Hi ,
                How to hide the help icon in through out the site collection in Sharepoint 2010
    Regards,
    Bharani
    bharani

    Hey,
    As Balamurugan said,that is also a way to do this.
    But jquery increses overhead for just small thing.
    So put something like this in your <head> section of master page
    <style>
    .s4-help {
        display: none !important;
    </style>
    This is the easiest way to do this :)
    Let me know if you have any queries :)
    "The Only Way To Get Smarter Is By Playing A Smarter Opponent"

  • Can we hide the arrow icon in the hide/show link ?

    well
    i need to hide the arrow icon in the hide/show link because this icon makes the printer prints many page for only one page print request
    so if anybody have any idea about this please inform ...
    thanks in advance

    i alreay use printable page and when i print the page prints many pages the first one with the page itself while the others blank white papers but have only the arrow of hide and show links
    ???

  • I hid the Taskbar Icon now How do I get it back?

    I hid the Taskbar Icon now How do I get it back?

    That is set in the remote control policy under the general tab. There is a
    check box to check if you want the icon showing or not.
    Remember that if you have policies set to users AND workstations, that the
    policies may conflict. It will all depend on how you have them scheduled.
    Jared H.
    <[email protected]> wrote in message
    news:KCj3c.2712$[email protected]..
    > I hid the Taskbar Icon now How do I get it back?

  • Is there a way to hide the Safari icon?

    I have some good web filtering software for kids, but it doesn't work with Safari. So I want to remove the Safari icon from their accounts (without making a seriously restricted account.) All I want to do is hide the icon, not remove it because the web filter software will likely include Safari in the near future.
    What I don't want to do, so please don't suggest it: I don't want to use the built in parental controls for Safari because it doesn't work like I want it to. I also don't want to set up a seriously restricted account for the kids - I want them to have "Standard" user privileges.
    Suggestions?

    If you really want to do that, be aware that Safari would be invisible to everyone, not just the kids. Even so, you'd need to login as the Admin user and use a tool like Super Get Info to change the visibility setting for Safari. After that's done, you would need to remove the Safari icon from the Dock of each account for your kids; otherwise they'd still be able to run Safari, even if they can't find it.
    Mulder

  • Xperia T - Is there any app which can hide the menu icons at the bottom screen

    I use the Tab for handwriting notes.  However, it is impossible not to touch the bottom icons with your wrist.  When you do, you are returned to the home page.  This is terribly frustrating when you are unable to complete a note without constantly switching beck to the home page.
    The manual shows the three icons on the left of the screen which would help to solve the problem.  How can I get my icons to move to the left? (or somewhere else - or disabled).  I don't want to root the tablet just to achieve this!
    Thanks

    I guess you mean Xperia tablet Z and not Xperia T? 
    In an earlier Android version (4.1) the soft keys where located in the left corner. In Android 4.2 the soft keys are located in the middle instead. 
    It is not possible to hide the soft keys as standard in Tablet Z and I'm not aware of any app with that functionality. 
    What are your thoughts about this forum? Let us know by doing this short survey.

  • Tree component - can I declaratively hide the disclosure icon

    I have just started working with the tree component. Within the data model that I am working with, I've got branches that may or may not contain children. The child nodes are lazily fetched (which is good, for performance), but this results in the tree not knowing if children exist until the disclosure icon (the arrow) is clicked. This means that when the branch contains no children, the user has to click the arrow, and the arrow just disappears without anything on the tree changing. Because of the nature of the legacy data model that I am working with, I actually have an attribute that indicates if children exist (and I could have created a formula based attribute if no such indicator existed in the data model). I would like to be able to check this attribute (via EL or some other method) and suppress the disclosure icon if no children exist, but I have not found a way of doing it. Is this possible?

    I was able to get this to work using the following disclosure listener:
      public void testDisclosureListener(RowDisclosureEvent rowDisclosureEvent) {
        Object rowKey = null;
        FacesCtrlHierNodeBinding rowData = null;
        RichTree tree = (RichTree)rowDisclosureEvent.getSource();
        RowKeySet rks = rowDisclosureEvent.getAddedSet();
        if (rks != null && rks.size() == 1) {
           rowKey = rks.iterator().next();
           tree.setRowKey(rowKey);
           rowData = (FacesCtrlHierNodeBinding)tree.getRowData();
           if ( rowData != null && rowData.getChildren() != null ) {
             // Iterate through the children of the expanded node and check if they have children
             for ( Object child : rowData.getChildren() ) {
               FacesCtrlHierNodeBinding childNode = (FacesCtrlHierNodeBinding)child;
               if ( childNode.getChildren() == null || childNode.getChildren().size() == 0 ) {
                 // Child node is a leaf.  Add it to the disclosed rows, to that the ADF tree will not display a disclosure icon
                 tree.getDisclosedRowKeys().add(childNode.getKeyPath());            
      }

  • HGrid hide the Action icon for Root Node

    Hi,
    I have a Hgrid developed. It contains a column called "Action" against all the nodes. I need to hide this icon only for the Root Node. Can anyone please suggest a solution?
    Thanks in Advance!
    Cheers.,
    Hem

    You can use a switcher (Icon and messageStyledText) or SPEL (rendered true or false) to resolve this issue. You can add a additional attribute in your VO which controls the SPEL rendered property of the icon or provides a case value for the switcher.

  • Is it possible to hide the HD icon in the desktop?

    It annoys me...
    Also, can anyone recommend me a site where I can download new Dock/menu bar themes?

    Finder -> Preferences -> General: Show on Desktop.
    Regards
    TD

  • JTree shows expansion icon when node hasn't got children

    When first displayed, my JTree shows the expansion icon next to non-leaf nodes that do not have children.
    If I click on one of the expansion icon it disappears.
    How can I stop it displaying this in the first place.
    i.e. only display it when the node does have children.
    Thanks.

    I've had a look at the source code to see why this is happening
    javax.swing.plaf.basic.BasicTreeUI.paintExpandControl( ... )
    seems to be the source of this effect.
    It seems that in deciding whether to display expansion icons or not, it ignores whether or not a node has children up until the node is expanded for the first time.
    Surely it should consider whether there are children or not from the beginning.
    Is this a bug or is there reasoning behind this? If so what? Is there any workaround.

  • How to hide the default arrow icon of af:tree node

    Hi All,
    I am using Oracle JDeveloper 11g R2.
    I want to hide the arrow icon which is displayed by default with af:tree node. The use case is to display custom icons for all the nodes. The problem is that when I am customizing icons of tree node, it is showing arrow as well as the icon with each node. Which doesn't seems fine. Can any one help/guide on how to hide the default af:tree node arrow icon.
    Thanks in advance.
    Regards
    Bilal
    Edited by: Bilal on 29-May-2012 01:32

    Hi,
    Use Css to change the icon style:
    af|treeTable::expanded-icon {
    content: url("/adf/1.gif");//content : none;
    outline: none ;
    af|treeTable::collapsed-icon {
    content: url("/adf/2.gif");//content : none;
    outline: none ;
    af|treeTable::leaf-icon {
    content: url("/adf/3.gif");//content : none;
    outline: none ;
    Regards,
    Raj Gopal K

  • ScreenSharing--Can you hide the icon?

    Is it possible for an administrator to hide the "ScreenSharing" icon in the menu bar of the computer that is being shared?
    I would like to be able to quietly monitor what my young kids are doing on the internet and on an upstairs computer.

    I think the best you can do is command+drag it off the menu bar after the screen sharing session starts. but it will appear at the beginning of the session.

  • Hide/Remove Subtotal Icon in ALV Grid report output.

    Hi,
            Is ther a way to remove or hide the Subtotal icon in the ALV Grid report output?
    Thanks & Regards,
    Praveen.

    Hi,
    You can add names of the buttons(which you want to hide) to internal table and pass this internal table for tool bar excluding parameter while calling ALV.
    Here as shown in below code, 'Sorting, Ascending,Descending' buttons are removed from the tool bar list. 
    data : lt_exclude TYPE ui_functions.
    ls_exclude = cl_gui_alv_grid=>MC_FC_SORT.
      APPEND ls_exclude TO lt_exclude .
      ls_exclude = cl_gui_alv_grid=>MC_FC_SORT_ASC.
      APPEND ls_exclude TO lt_exclude .
      ls_exclude = cl_gui_alv_grid=>MC_FC_SORT_DSC.
      APPEND ls_exclude TO lt_exclude .
        CALL METHOD alvgd->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
         IT_TOOLBAR_EXCLUDING          = lt_exclude
    Regards,
    Maharshi Vyas

  • How do I hide a windows icon

    in Oracle 10g I want to hide the icon image of the windows.
    I want the windows shows only the title bar not the icon.
    Anyone can help me.
    Yeahia

    Actually I want to hide the windows icon which is top left corner of the windows. even when i hide the close,maximize,minimize,resize,move etc. everything set=no then also windows icon is visible. i want to hide the icon.
    Yeahia

  • HierarchyViewer mouse click event on expansion icon

    Hi,
    I'm using HierarchyViewer in an application. Could you please suggest if I can catch the mouse click event on the expansion icon ["+" sign appearing right below the node]?
    Thank you,
    Nima

    Dear Akash,
    Are you sure about Disclose Listener of the HierarchyViewer??
    I'm using Jdeveloper 11g (11.1.1.5) and HV component doesn't have such listener!

Maybe you are looking for