test/javax/swing/Headless/HeadlessCellRendererPane.java

Print this page


   1 /*
   2  * Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */


  74                 crp.getFontMetrics(f2);
  75                 crp.getFontMetrics(f3);
  76                 crp.getFontMetrics(f4);
  77             }
  78         }
  79         crp.getPreferredSize();
  80         crp.preferredSize();
  81         crp.getMinimumSize();
  82         crp.minimumSize();
  83         crp.getMaximumSize();
  84         crp.getAlignmentX();
  85         crp.getAlignmentY();
  86         crp.getComponentAt(1, 2);
  87         crp.locate(1, 2);
  88         crp.getComponentAt(new Point(1, 2));
  89         crp.isFocusCycleRoot(new Container());
  90         crp.transferFocusBackward();
  91         crp.setName("goober");
  92         crp.getName();
  93         crp.getParent();
  94         crp.getPeer();
  95         crp.getGraphicsConfiguration();
  96         crp.getTreeLock();
  97         crp.getToolkit();
  98         crp.isValid();
  99         crp.isDisplayable();
 100         crp.isVisible();
 101         crp.isShowing();
 102         crp.isEnabled();
 103         crp.setEnabled(false);
 104         crp.setEnabled(true);
 105         crp.enable();
 106         crp.enable(false);
 107         crp.enable(true);
 108         crp.disable();
 109         crp.isDoubleBuffered();
 110         crp.enableInputMethods(false);
 111         crp.enableInputMethods(true);
 112         crp.setVisible(false);
 113         crp.setVisible(true);
 114         crp.show();


   1 /*
   2  * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */


  74                 crp.getFontMetrics(f2);
  75                 crp.getFontMetrics(f3);
  76                 crp.getFontMetrics(f4);
  77             }
  78         }
  79         crp.getPreferredSize();
  80         crp.preferredSize();
  81         crp.getMinimumSize();
  82         crp.minimumSize();
  83         crp.getMaximumSize();
  84         crp.getAlignmentX();
  85         crp.getAlignmentY();
  86         crp.getComponentAt(1, 2);
  87         crp.locate(1, 2);
  88         crp.getComponentAt(new Point(1, 2));
  89         crp.isFocusCycleRoot(new Container());
  90         crp.transferFocusBackward();
  91         crp.setName("goober");
  92         crp.getName();
  93         crp.getParent();

  94         crp.getGraphicsConfiguration();
  95         crp.getTreeLock();
  96         crp.getToolkit();
  97         crp.isValid();
  98         crp.isDisplayable();
  99         crp.isVisible();
 100         crp.isShowing();
 101         crp.isEnabled();
 102         crp.setEnabled(false);
 103         crp.setEnabled(true);
 104         crp.enable();
 105         crp.enable(false);
 106         crp.enable(true);
 107         crp.disable();
 108         crp.isDoubleBuffered();
 109         crp.enableInputMethods(false);
 110         crp.enableInputMethods(true);
 111         crp.setVisible(false);
 112         crp.setVisible(true);
 113         crp.show();