Searched refs:ui (Results 1 - 25 of 236) sorted by relevance

12345678910

/openjdk7/jdk/test/javax/swing/JComboBox/6632953/
H A Dbug6632953.java36 MetalComboBoxUI ui = new MetalComboBoxUI();
37 ui.installUI(new JComboBox());
38 ui.getBaseline(new JComboBox(), 0, 0);
39 ui.getBaseline(new JComboBox(), 1, 1);
40 ui.getBaseline(new JComboBox(), 2, 2);
41 ui.getBaseline(new JComboBox(), 3, 3);
42 ui.getBaseline(new JComboBox(), 4, 4);
/openjdk7/jdk/src/solaris/npt/
H A Dutf_md.c43 struct UtfInst *ui; local
46 ui = (struct UtfInst*)calloc(sizeof(struct UtfInst), 1);
47 ui->iconvToPlatform = (void *)-1;
48 ui->iconvFromPlatform = (void *)-1;
56 return ui;
61 return ui;
65 ui->iconvToPlatform = iconv_open(codeset, "UTF-8");
66 if ( ui->iconvToPlatform == (void *)-1 ) {
69 ui->iconvFromPlatform = iconv_open("UTF-8", codeset);
70 if ( ui
80 utfTerminate(struct UtfInst *ui, char *options) argument
[all...]
/openjdk7/jdk/src/share/npt/
H A Dutf.h45 (struct UtfInst *ui, char *options);
47 (struct UtfInst *ui, jbyte *utf8,
50 (struct UtfInst *ui, char *str, int len,
53 (struct UtfInst *ui, jbyte *utf8, int len,
56 (struct UtfInst *ui, jchar *utf16, int len,
59 (struct UtfInst *ui, jchar *utf16, int len,
62 (struct UtfInst *ui, jbyte *string, int length);
64 (struct UtfInst *ui, jbyte *string, int length,
67 (struct UtfInst *ui, jbyte *string, int length);
69 (struct UtfInst *ui, jbyt
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DEditorCommands.java25 package sun.jvm.hotspot.ui;
H A DEditorFactory.java25 package sun.jvm.hotspot.ui;
H A DEditor.java25 package sun.jvm.hotspot.ui;
H A DSAListener.java25 package sun.jvm.hotspot.ui;
45 import sun.jvm.hotspot.ui.action.*;
47 import com.sun.java.swing.ui.*;
49 import sun.jvm.hotspot.ui.tree.SimpleTreeNode;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthDefaultLookup.java37 public Object getDefault(JComponent c, ComponentUI ui, String key) { argument
38 if (!(ui instanceof SynthUI)) {
39 Object value = super.getDefault(c, ui, key);
42 SynthContext context = ((SynthUI)ui).getContext(c);
/openjdk7/jdk/test/javax/swing/plaf/basic/BasicScrollPaneUI/
H A DTest6632810.java38 BasicScrollPaneUI ui = new BasicScrollPaneUI();
40 ui.installUI(new JScrollPane());
43 ui.getBaseline(null, 1, 1);
61 ui.getBaseline(new JScrollPane(), width, height);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKRegion.java39 protected GTKRegion(String name, String ui, boolean subregion) { argument
40 super(name, ui, subregion);
/openjdk7/jdk/test/javax/swing/JTabbedPane/6670274/
H A Dbug6670274.java39 TestTabbedPaneUI ui = new TestTabbedPaneUI();
40 pane.setUI(ui);
46 check(ui, 0, 1);
49 check(ui, 0);
53 check(ui, 0, 2);
56 private static void check(TestTabbedPaneUI ui, int... indices) { argument
57 for(int i = 0; i < ui.getTabbedPane().getTabCount(); i++) {
59 View view = ui.getTextViewForTab(i);
/openjdk7/jdk/src/share/classes/sun/swing/
H A DDefaultLookup.java92 public static Object get(JComponent c, ComponentUI ui, String key) { argument
125 return lookup.getDefault(c, ui, key);
131 public static int getInt(JComponent c, ComponentUI ui, String key, argument
133 Object iValue = get(c, ui, key);
141 public static int getInt(JComponent c, ComponentUI ui, String key) { argument
142 return getInt(c, ui, key, -1);
145 public static Insets getInsets(JComponent c, ComponentUI ui, String key, argument
147 Object iValue = get(c, ui, key);
155 public static Insets getInsets(JComponent c, ComponentUI ui, String key) { argument
156 return getInsets(c, ui, ke
159 getBoolean(JComponent c, ComponentUI ui, String key, boolean defaultValue) argument
169 getBoolean(JComponent c, ComponentUI ui, String key) argument
173 getColor(JComponent c, ComponentUI ui, String key, Color defaultValue) argument
183 getColor(JComponent c, ComponentUI ui, String key) argument
187 getIcon(JComponent c, ComponentUI ui, String key, Icon defaultValue) argument
196 getIcon(JComponent c, ComponentUI ui, String key) argument
200 getBorder(JComponent c, ComponentUI ui, String key, Border defaultValue) argument
209 getBorder(JComponent c, ComponentUI ui, String key) argument
213 getDefault(JComponent c, ComponentUI ui, String key) argument
[all...]
/openjdk7/jdk/src/windows/npt/
H A Dutf_md.c38 struct UtfInst *ui; local
43 ui = (struct UtfInst*)calloc(sizeof(struct UtfInst), 1);
52 ui->platformCodePage = atoi(strCodePage);
54 ui->platformCodePage = GetACP();
56 return ui;
63 utfTerminate(struct UtfInst *ui, char *options) argument
65 (void)free(ui);
100 utf8ToPlatform(struct UtfInst *ui, jbyte *utf8, int len, char* output, int outputMaxLen) argument
124 plen = WideCharToMultiByte(ui->platformCodePage, 0, wstr, wlen,
139 utf8FromPlatform(struct UtfInst *ui, cha argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJPanel.java136 return (PanelUI)ui;
143 * @param ui the PanelUI L&F object
152 public void setUI(PanelUI ui) { argument
153 super.setUI(ui);
181 if (count == 0 && ui != null) {
182 ui.installUI(this);
H A DJSeparator.java115 return (SeparatorUI)ui;
121 * @param ui the SeparatorUI L&F object
129 public void setUI(SeparatorUI ui) { argument
130 super.setUI(ui);
165 if (count == 0 && ui != null) {
166 ui.installUI(this);
H A DJSplitPane.java364 * @param ui the <code>SplitPaneUI</code> L&F object
372 public void setUI(SplitPaneUI ui) { argument
373 if ((SplitPaneUI)this.ui != ui) {
374 super.setUI(ui);
390 return (SplitPaneUI)ui;
750 SplitPaneUI ui = getUI();
752 if (ui != null) {
753 ui.resetToPreferredSizes(this);
813 SplitPaneUI ui
[all...]
/openjdk7/jdk/test/javax/swing/JSlider/6794836/
H A Dbug6794836.java56 BasicSliderUI ui = (BasicSliderUI) slider.getUI();
58 if (invokeMethod("getHighestValueLabel", ui) != maxLabel) {
62 if (invokeMethod("getLowestValueLabel", ui) != minLabel) {
69 private static Object invokeMethod(String name, BasicSliderUI ui) throws Exception { argument
74 return method.invoke(ui, null);
/openjdk7/jdk/test/javax/swing/JTree/8003830/
H A Dbug8003830.java52 BasicTreeUI ui = new NullReturningTreeUI();
53 tree.setUI(ui);
54 BasicTreeUI.TreePageAction tpa = ui.new TreePageAction(0, "down");
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsSplitPaneDivider.java53 public WindowsSplitPaneDivider(BasicSplitPaneUI ui) { argument
54 super(ui);
/openjdk7/jdk/test/javax/swing/JViewport/6953396/
H A Dbug6953396.java40 BasicViewportUI ui = new BasicViewportUI() {
56 viewport.setUI(ui);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/tree/
H A DSimpleTreeNode.java25 package sun.jvm.hotspot.ui.tree;
/openjdk7/jdk/src/share/classes/javax/print/
H A DServiceUIFactory.java117 * @param ui type in which the role is requested.
120 * @throws IllegalArgumentException if the role or ui is neither
124 public abstract Object getUI(int role, String ui) ; argument
/openjdk7/jdk/test/javax/swing/JSlider/6918861/
H A Dbug6918861.java43 HackedSynthSliderUI ui = new HackedSynthSliderUI(slider);
45 slider.setUI(ui);
47 if (ui.counter != 111) {
53 if (ui.counter != 0) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/multi/
H A DMultiLookAndFeel.java225 ComponentUI ui;
229 ui = UIManager.getDefaults().getUI(target);
230 if (ui != null) {
231 uis.addElement(ui);
236 ui = auxiliaryLookAndFeels[i].getDefaults().getUI(target);
237 if (ui != null) {
238 uis.addElement(ui);
/openjdk7/jdk/test/javax/swing/JScrollBar/6542335/
H A Dbug6542335.java40 private static MyScrollBarUI ui; field in class:bug6542335
57 ui = new MyScrollBarUI();
58 sb.setUI(ui);
79 thumbBounds[0] = new Rectangle(ui.getThumbBounds());
93 Rectangle newThumbBounds = ui.getThumbBounds();

Completed in 1831 milliseconds

12345678910