Mx|Tree disable hover, selection and background color

Hello.
I would like to know how can i disable the dhover, selection and background color.
i don't need selection at all so if i can just disable the selection in a tree component (plus make the background color transparent) it would be great.
thanks

RTFM
Use Tree's "selectable" property and "backgroundAlpha" style.

Similar Messages

  • Disabled font and background color

    I am trying to change the font and background color of a disabled h:inputtext tag. Currently, if I set disabled=true on an h:inputtext tag, the background in gray and the font is white. I would like to somehow customize that to be background gray and font color black. Any ideas?

    Check these
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ccb6bcf4-0401-0010-e3bc-ec0ef03e13d1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d2b1d790-0201-0010-25b7-d1fb059a8ad9
    Regards, Anilkumar
    P.S : https://www.sdn.sap.com/irj/sdn/advancedsearch?query=theme&cat=sdn_library
    Message was edited by:
            Anilkumar Vippagunta

  • WorkOrderList TileView Row & Selected Row Background Color Change

    Hi,
         can we change the background color of WorkorderList TileView Row & Selected Row Background color ?. Actually i am trying to change the color of both in WorkOrderList but it not reflecting any color on my Agentry client. I used a style on Tile List View Data/Style.
    but these applied style on Rows & Selected Rows are not working in Agentry client.
    if any other alternate solution exist in Agentry, please guide me.
    i am using following...
      sap mobile platform-2.3.3
    Thanks & Regard
    Manish Kumar
    Tags edited by: Michael Appleby

    Hi Jason
          Yes using Image we can achieve that goal but i want to use a background color instead of Image background. Finally I used a background color on label and set the that label field on Screen. And It's showing the background color on WorkOrderList Row & Selected Row that what i wanted. But on both Row & Selected TileView Screen showing white outline that i don't want and also i could not remove the default Selected Blue Background Color.
         Please guide me how to remove white outline and default Blue Selected Background color.
    Thanks & Regard
    Manish Kumar

  • How to change a selected cell background color in JTable?

    Hi all,
    I am trying to change the background color of a selected cell by clicking on that particular cell. DefaultTableCellRenderer class provides setBackground(Color c) to change the background color of unselected cells. Is there a way to change a selected cell background color?
    Thank you,
    Arthur

    Write your own renderer (eg. extending DefaultTableRenderer) and put in getTableCellRendererComponent method something like this:
    if( isSelected && hasFocus )
        setBackground( Color.RED );
        setForeground( Color.GREEN );
    }

  • Setting fonts and Background color

    Hi,
    Is there anyway to set the font and background color on a jLabel? Thanks for your help!

    ...emmmm lets see... for the font and the background...
    maybe setFont and maybe setBackground!
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JComponent.html

  • How to set text and background color of current row in a adf table?

    Hi,
    In jdev 11.1.2.3,
    How to set text fond and background color of current row in a adf table?
    I tried to set Background color in table property, but that is not what i want.
    Thanks.

    Hi,
    We almost had the same requirement, but we just needed to color a specific column.
    Here goes the solution to that, you might do the same for your row highlighting
    Changes are required in jsff and one method to be added in backing bean
    1. JSFF :
    <af:column headerText="Amount"
                     id="c4" width="100"
                     inlineStyle="#{backingBeanScope.BackingBean.cellColor}">2. Backing Bean
    //searchResultTableVO is Table's VO
    public String getCellColor() {
          FacesContext ctx = FacesContext.getCurrentInstance();
          ExpressionFactory ef = ctx.getApplication().getExpressionFactory();
          ValueExpression ve = ef.createValueExpression(ctx.getELContext(), "#{row}", FacesCtrlHierNodeBinding.class);
          FacesCtrlHierNodeBinding node = (FacesCtrlHierNodeBinding)ve.getValue(ctx.getELContext());
          Row row = node.getRow();
        if(row.equals(searchResultTableVO.getCurrentRow())){
    //You can add your inline style for font-style too
          return "background-color:Red;";
             return null;
      }Hope this is helpful :)
    Regards,
    Neha..

  • Numeric Control - Text and Background Color changes when operating inc/dec arrows

    Hi,
    I'm developing an application that has a panel with black background and green or red numbers. I've added numeric controls and configured the text color and text background color attributes accordinglingy. I set the numeric control to hot or validate  control mode and show the inc/dec arrows, since I want to be able to incr/decr the numbers.
    The problem is that when I run the application and I hit the inc/dec arrows, then the colors inside the numeric control frame become inverted: the black background becomes white and the green number becomes cyan. I've created a callback function assosicated with the numeric control and tried forcing the text and background color, in the EVENT_VAL_CHANGED section, using the SetCtrlAttrribute() function, but to no avail. Also added ProcessDrawEvents didn't help.
    When I mouse click again outside the numeric control, then it reverts back to its original colors (green text, black background).
    Any suggestions as to how I can fix this ?
    I want it to keep its original colors at all times, even when I'm clicking the incr/decr arrows...
    Kind regards,
    pgriep
    Solved!
    Go to Solution.

    Ok, now I see what's happening.
    The effect you are seeing is a resul of standard numeric control behaviour combined with the black bcakground: when you use arrows to increment/decrement a numeric control its value will be automatically highlighted; on the default background you'll see the white area and figures highlighted in black (white numbers on balck background). If you set the background to black the system will automatically change the colors used to highlight the text, and that's what you're seeing.
    By the way, this does not happens if you use up and down keys on the keyboard: text is not highlighted so colors are not changing.
    Additionally, this is not only valid for numerics: see the behaviour of the string controls on the bottom of your panel when you tab up to them. This effect does not happen on controls set as indicator like the big clock in the upper part of the panel.
    The only way I can see to overcome this behaviour is to hide control built-in arrows and create your own up and down buttons with which you can manipulate the numeric control. I am attaching a modified version of your project with buttons on the left numeric; sorry for the poor aesthetic:  I have used some arrow icons I had on my disk, you may want to create your own arrows with the colors and shape you prefer.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?
    Attachments:
    ModifiedApplication.zip ‏9 KB

  • How to change foreground and background color using CC SDK?

    Hello all,
    I am just starting to study the sdk (Mac CC). Currently, I am seeking the answer to change foreground and background color using CC SDK?
    Is it possible to do so? In addition, will the Image Mode such as RGB, CYMK or Grayscale be effecting such solution?
    Thanks in advance.

    These are NOT dropdown menus. They are dropdown LISTS.
    http://web.me.com/toad.hall/Demo1/Drop_DownMenus.html
    And from the links in the Google search you can learn that a list item has no style.
    And a dropdown list behaves differently from dropdown menus. Here's how it looks on Mobile Safari :

  • Selected day background color

    I have long wished that the background color of the selected day were more visible. I stumbled across this workaround that might be useful, at least on my iMac.
    In System preferences, Universal access set the contrast slider is all the way to the left. It makes a significant difference in the visibility of the selected day. Not perfect but better, and it doesn't take much to obliterate the background color.
    The keyboard command to lower the contrast is ctrl-opt-cmd-, to increase use a "." instead of the "," and you can really see the difference with iCal open.

    Your DateChooser dialog is modal. The setVisible(true) method is thus a blocking method. You must make sure you did retrieve its date before you call fireEditingStopped :           public void actionPerformed(ActionEvent e) {
                   if (EDIT.equals(e.getActionCommand())) {
                        //The user has clicked the cell, so
                        //bring up the dialog.
                        button.setText(dateFormat.format(curDate));
                        dateChooser.setDate(curDate);
                        dateChooser.setVisible(true); //Make the renderer reappear.
                        curDate = dateChooser.getDate();
                        fireEditingStopped();
                   } else {
                        curDate = dateChooser.getDate();
              }

  • Logon Page - Trademark text and background color

    Hi Guys,
    I just customized the Logon Page of the Portal successfully. The only two things which are missing are the trademark as well as a new background color. So ... can anybody tell how to:
    1. Change the SAP Trademark text in the Logon Page?
    2. Change the background color of the background page?
    Hopefully I can do it in the portal. Thanks for your answers and your help.
    Best regards
    Alexander

    Alexander,
    In addition to the tips you already got from the other members...
    1. The Background colour is the background colour that is defined in the theme assigned in the Default Portal Desktop (defaultDesktop) that is located in the folder: pcd:portal_content/every_user/general/. By default the Tradeshow theme is selected in this desktop if you create your own theme and assign it to this desktop and set it as default then the background colour of your theme will be the background colour visible in the login page....
    2. The Trademark text is a "Locale text" this means that the strin is not visible in the code but referenced by a variable based on the language of the browser. You can find this copywrite text in the following location:
    a. Download the com.sap.portal.runtime.logon.par file from your Portal
    b. Import it in NWDS or unzip it.
    c. inside the structure look for the folder PORTAL-INF\lib
    d. there is a .jar file called umelogonbase.jar. extract this file with winzip
    e. inside the structure you now see allot of .properties files.. look for the loginLabels_<yourcountrycode>.properties and inside this file look for the variable called "COPY_RIGHT" there you can edit it.
    f. do this for all the languages you need and create a new par file again in your customer namespace so that you don't overwrite the one from SAP.
    Good Luck,
    Benjamin Houttuin

  • Rules and background color inaccuracy.

    I set up a simple rule that will give a background color to all senders that are in my address book. strangely, some of the sender messages are of that color and other ones, same address, not colored at all.
    Anyone have an idea why this is not consistent?

    Rules are normally applied to messages as they arrive in a inbox. However, you can reapply rules to messages you select in a mailbox's list with Mail's Messages -> Apple Rules menu item.
    In either case, Mail works through the rules, starting with the first rule in the "Rules" pane of Mail's preferences & working down the list until either an action stops the process or the last rule is reached. Since some rules may affect a rule farther down the list, you need to be aware of how the order of rules in the list can change the outcome.
    For more help with this, click the purple circle with a "?" in it in the Rules pane of Mail's preferences.
    Note also that rules perform actions based on conditions & those actions are not "undone" if the rule is removed. (IOW, actions are permanent changes.) So your previously color-changed messages will remain that color until some other action (yours or a rule's) changes them to some other one. Unfortunately, there is no rule condition to test for the color of a message, so you can't just create a new rule to selectively change your colored ones back to the default.

  • Problem with cfdocument and background colors with table borders

    i am having a great deal of difficulty with cfdocument
    rendering my tables with cells that have background colors. the
    background colors seem to bleed through the table border. a picture
    at 100% magnification can be seen at
    http://www.vitad.com/cfdoc.jpg
    and at 1600% magnification at:
    http://www.vitad.com/cfdoc2.jpg.
    i am attaching sample code of the what generated the pdf in the
    pictures. btw, i am running cfmx 7 with hot fix 2.

    Hi fresher4flex,
    Since you are using the item Renderer for the DataGrid Column try to apply the styles dynamically to the background of your itemRenderer by making using of the rollOver and rollOut events.
    Thanks,
    Bhasker

  • Changing font and background color for all components

    Hi,
    This is my first time writing a GUI, and I'm pretty new to Swing and Java. I just recently switched from C++, and so far Java seems to be doing a nice job =)
    Currently I have a gazilion components (textfields, labels, panels) and I'm wondering if there is a way to change their background/foreground colours without adding in setBackground/setForeground for every single component.
    I've done some researching onto using Look and Feel, but there aren't any current ones that suits my needs. And everyone seems to mention that programming your own is pretty complicated.
    My boss wants a slick white text on black background interface, so you can imagine that he's not very impressed with the current default greyish colours =)
    Thank you for any help!
    Cindy

    Hi Cindy,
    I'm not sure how effective a solution this will be, but you could try:UIManager.put("TextField.background", Color.BLACK); // Default text field background becomes blackThere are many more defaults you'd have to change and could probably achieve it more reliably and simply by creating or editing the properties file that controls the way the look and feel (even if it's the default) is implemented. Take a look at:
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/UIManager.htmlHope this is helpful
    Chris.

  • Eraser tool won't reverse when swapping fore and background colors

    When using the eraser tool to blend layers I often want to "unerase" a bit so hit "X" to paint with white and it still erases to layer below just as it had before switching the foreground "W" and background "B" colors. Makes no sense to me as I thought I could paint back in by doing so.

    "You can reverse transparency by painting white (or a light shade) on a layer mask that has been painted black (or a dark shade)."   Thanks, Noel.
    That is what I am attempting, but when I paint with the white on the layer mask it continues to erase rather than reverse transparency. I was able to do this in the past without fail, but not today. My gut feeling is I've done something which has triggered this problem, but have retraced my steps carefully and am still not finding the solution. The History brush idea I will attempt later, but prefer to first figure out why my old tried and true method is failing.

  • NativeWindow.stage.fullScreenSourceRect and background color

    When I create new NativeWindow with normal chrome in AIR app and use fullScreenSourceRect for fullscreen state how can I control the background color?
    http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/display/Stage.html
    as the Language Reference states:
    If the aspect ratio was not matched, the stage background color, which is white by default, would show on each side instead of the green background.
    swf background color should be on the sides, but the sides are gray...?

    I don't think you can control the color that is shown when your fullscreenSourceRect does not have the same aspect ratio as the screen. The solution is to match the two aspect ratios.

Maybe you are looking for