Package jetbrains.communicator.util

Examples of jetbrains.communicator.util.UserActionWithValue


    super.paintComponent(g);
  }

  public void customizeCellRenderer(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) {

    TreeUtils.convertValueIfUserNode(value, new UserActionWithValue() {
      public Object execute(User user) {
        append(user.getDisplayName() + " ", SimpleTextAttributes.REGULAR_ATTRIBUTES);
        append(user.getPresence().getDisplayText(), SimpleTextAttributes.GRAYED_ATTRIBUTES);

        setIcon(user.getIcon());
View Full Code Here

TOP

Related Classes of jetbrains.communicator.util.UserActionWithValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.