Java JComponent Container getBooleanClientProperty(JComponent c, Object property)

Here you can find the source of getBooleanClientProperty(JComponent c, Object property)

Description

get Boolean Client Property

License

Open Source License

Declaration

private static boolean getBooleanClientProperty(JComponent c,
            Object property) 

Method Source Code

//package com.java2s;
/*//w  ww . j  av a2  s . c om
 * Copyright (C) 2006 Sun Microsystems, Inc. All rights reserved. Use is
 * subject to license terms.
 */

import javax.swing.JComponent;

public class Main {
    private static boolean getBooleanClientProperty(JComponent c,
            Object property) {
        Boolean value = (Boolean) c.getClientProperty(property);
        return (value == null) ? false : value;
    }
}

Related

  1. findRootPaneContainer(final Component source)
  2. getActiveRectangle(JComponent c)
  3. getAllJComponents(Container container, Collection collection)
  4. getAncestorOfType(JComponent component, Class type)
  5. getAncestorsOfClass(JComponent start, Class theClass)
  6. getChildJComponents(Container container)
  7. getClipboard(JComponent c)
  8. getComponent(JComponent container, String name)
  9. getComponent(JComponent container, String name)