Here you can find the source of isExpanded(Node node)
private static boolean isExpanded(Node node)
//package com.java2s; /******************************************************************************* * Copyright (c) 2007-2008 Red Hat, Inc. * Distributed under license by Red Hat, Inc. All rights reserved. * This program is made available under the terms of the * Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html * * Contributor:/* w w w.ja v a 2s . c om*/ * Red Hat, Inc. - initial API and implementation ******************************************************************************/ import java.util.WeakHashMap; import org.w3c.dom.Node; public class Main { private static final WeakHashMap<Node, Object> expandedComboBoxes = new WeakHashMap<Node, Object>(); private static boolean isExpanded(Node node) { return expandedComboBoxes.containsKey(node); } }