Searched defs:table (Results 26 - 50 of 247) sorted by relevance

12345678910

/openjdk7/jdk/src/share/demo/jfc/Metalworks/
H A DDemoMetalTheme.java103 public void addCustomEntriesToTable(UIDefaults table) { argument
104 super.addCustomEntriesToTable(table);
107 table.put("InternalFrame.closeIcon", MetalIconFactory.
109 table.put("InternalFrame.maximizeIcon", MetalIconFactory.
111 table.put("InternalFrame.iconifyIcon", MetalIconFactory.
113 table.put("InternalFrame.minimizeIcon", MetalIconFactory.
117 table.put("ScrollBar.width", 21);
/openjdk7/jdk/test/javax/swing/JInternalFrame/
H A DTest6505027.java49 import javax.swing.table.DefaultTableModel;
50 import javax.swing.table.TableColumn;
69 private final JTable table = new JTable(new DefaultTableModel(COLUMNS, 2)); field in class:Test6505027
85 this.table.putClientProperty(KEY, Boolean.TRUE);
87 TableColumn column = this.table.getColumn(COLUMNS[1]);
91 container.add(BorderLayout.CENTER, new JScrollPane(this.table));
95 Point point = this.table.getCellRect(1, 1, false).getLocation();
96 SwingUtilities.convertPointToScreen(point, this.table);
/openjdk7/jdk/test/javax/swing/JTable/4220171/
H A Dbug4220171.java46 private static JTable table; field in class:bug4220171
88 if (table.getValueAt(row, column) != null) {
109 Rectangle rect = table.getCellRect(row, column, false);
112 SwingUtilities.convertPointToScreen(point, table);
125 table = new JTable(2, 2);
126 table.setEnabled(false);
128 frame.getContentPane().add(table);
/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DDefaultTableCellRenderer.java26 package javax.swing.table;
49 * The table class defines a single cell renderer and uses it as a
50 * as a rubber-stamp for rendering all cells in the table;
107 * Creates a default table cell renderer.
165 // implements javax.swing.table.TableCellRenderer
168 * Returns the default table cell renderer.
174 * or not the table is being printed, check the return value from
177 * @param table the <code>JTable</code>
184 * @return the default table cell renderer
187 public Component getTableCellRendererComponent(JTable table, Objec argument
[all...]
H A DTableModel.java26 package javax.swing.table;
40 * JTable table = new JTable(myData);
43 * For further documentation, see <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#data">Creating a Table Model</a>
75 * to initialize the table's column header name. Note: this name does
76 * not need to be unique; two columns in a table can have the same name.
H A DTableRowSorter.java25 package javax.swing.table;
39 * JTable table = new JTable(myModel);
40 * table.setRowSorter(new TableRowSorter(myModel));
43 * gesture, such as clicking on the column header, the table will
52 * int[] selection = table.getSelectedRows();
54 * selection[i] = table.convertRowIndexToModel(selection[i]);
60 * table.setRowSelectionInterval(table.convertRowIndexToView(row),
61 * table.convertRowIndexToView(row));
96 * JTable table
[all...]
/openjdk7/jdk/src/share/classes/sun/swing/table/
H A DDefaultTableCellHeaderRenderer.java25 package sun.swing.table;
40 import javax.swing.table.*;
57 public Component getTableCellRendererComponent(JTable table, Object value, argument
63 if (table != null) {
64 JTableHeader header = table.getTableHeader();
86 if (!isPaintingForPrint && table.getRowSorter() != null) {
92 SortOrder sortOrder = getColumnSortOrder(table, column);
128 public static SortOrder getColumnSortOrder(JTable table, int column) { argument
130 if (table == null || table
[all...]
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/
H A DNameContext.java45 private Hashtable table; field in class:NameContext
104 table = new Hashtable();
146 Name value = (Name) table.get(key);
175 table.put(key,new Name(name,false));
187 Name it = (Name) table.get(name.toLowerCase());
220 table.clear();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/table/
H A DTableModelComparator.java25 package sun.jvm.hotspot.ui.table;
29 import javax.swing.table.TableModel;
33 * A comparator which compares rows in a table model
107 // Perhaps we should add the requirement that all table
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifLookAndFeel.java89 * Load the SystemColors into the defaults table. The keys
91 * the public fields in SystemColor. If the table is being
96 protected void initSystemColorDefaults(UIDefaults table) argument
128 loadSystemColors(table, defaultSystemColors, false);
132 protected void initClassDefaults(UIDefaults table) argument
134 super.initClassDefaults(table);
172 table.putDefaults(uiDefaults);
177 * Initialize the defaults table with the name of the ResourceBundle
180 private void initResourceBundle(UIDefaults table) { argument
181 table
185 initComponentDefaults(UIDefaults table) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/algorithm/
H A DBuiltInEncodingAlgorithmFactory.java35 private final static BuiltInEncodingAlgorithm[] table = field in class:BuiltInEncodingAlgorithmFactory
57 table[EncodingAlgorithmIndexes.HEXADECIMAL] = hexadecimalEncodingAlgorithm;
58 table[EncodingAlgorithmIndexes.BASE64] = base64EncodingAlgorithm;
59 table[EncodingAlgorithmIndexes.SHORT] = shortEncodingAlgorithm;
60 table[EncodingAlgorithmIndexes.INT] = intEncodingAlgorithm;
61 table[EncodingAlgorithmIndexes.LONG] = longEncodingAlgorithm;
62 table[EncodingAlgorithmIndexes.BOOLEAN] = booleanEncodingAlgorithm;
63 table[EncodingAlgorithmIndexes.FLOAT] = floatEncodingAlgorithm;
64 table[EncodingAlgorithmIndexes.DOUBLE] = doubleEncodingAlgorithm;
65 table[EncodingAlgorithmIndexe
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/binary/
H A DPatternInterner.java51 private Pattern[] table; field in class:PatternInterner
56 table = null;
62 table = parent.table;
63 if (table != null)
64 table = (Pattern[]) table.clone();
73 if (table == null) {
74 table = new Pattern[INIT_SIZE];
78 for (h = firstIndex(p); table[
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageLookUp.c30 * mlib_ImageLookUp - table lookup
35 * void **table)
40 * table Lookup table.
43 * The mlib_ImageLookUp function performs general table lookup on an
45 * through a lookup table.
48 * MLIB_BIT, MLIB_BYTE, MLIB_SHORT, or MLIB_INT. The lookup table may be
51 * number of channels as either source image or the lookup table,
52 * whichever is greater, and the same data type as the lookup table.
54 * It is the user's responsibility to make sure that the lookup table
125 mlib_ImageLookUp(mlib_image *dst, const mlib_image *src, const void **table) argument
[all...]
H A Dmlib_v_ImageLookUpS32S32Func.c32 #define HALF_U64 (MLIB_U64_CONST(2147483648) * sizeof(table[0][0]))
41 const mlib_s32 **table,
53 const mlib_s32 *tab = (void *)&(((mlib_u8 **)table)[k][HALF_U64]);
66 const mlib_s32 *tab = (void *)&(((mlib_u8 **)table)[k][HALF_U64]);
35 mlib_v_ImageLookUp_S32_S32(const mlib_s32 *src, mlib_s32 slb, mlib_s32 *dst, mlib_s32 dlb, mlib_s32 xsize, mlib_s32 ysize, const mlib_s32 **table, mlib_s32 csize) argument
H A Dmlib_v_ImageLookUpSIS32S32Func.c32 #define HALF_U64 (MLIB_U64_CONST(2147483648) * sizeof(table[0][0]))
41 const mlib_s32 **table,
53 const mlib_s32 *tab = (void *)&(((mlib_u8 **)table)[k][HALF_U64]);
66 const mlib_s32 *tab = (void *)&(((mlib_u8 **)table)[k][HALF_U64]);
35 mlib_v_ImageLookUpSI_S32_S32(const mlib_s32 *src, mlib_s32 slb, mlib_s32 *dst, mlib_s32 dlb, mlib_s32 xsize, mlib_s32 ysize, const mlib_s32 **table, mlib_s32 csize) argument
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWingDings.java59 if (table[c - 0x2700] != 0x00)
87 da[dp++] = table[c - 0x2700];
96 private static byte[] table = { field in class:WingDings.Encoder
/openjdk7/jdk/src/windows/native/sun/windows/
H A DGDIHashtable.cpp56 for (HashtableEntry* e = table[i] ; e != NULL ; ) {
62 table[i] = e->next;
84 e->table->flush();
88 void GDIHashtable::List::add(GDIHashtable* table) { argument
93 e->table = table;
98 void GDIHashtable::List::remove(GDIHashtable* table) { argument
104 if (e->table == table) {
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/rcache/
H A DReplayCache.java51 private CacheTable table; field in class:ReplayCache
63 table = ct;
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/
H A DX11Dingbats.java62 return (table[ch - 0x2761] != 0x00);
89 da[dp++] = table[c - 0x2761]; // table lookup
101 private static byte[] table = { field in class:X11Dingbats.Encoder
/openjdk7/langtools/test/tools/javac/diags/
H A DCheckExamples.java211 table.put("total", keys.size());
215 Integer i = table.get(p);
220 Integer i = table.get(p);
221 table.put(p, (i == null ? 1 : i + 1));
224 Map<String,Integer> table = new HashMap<String,Integer>(); field in class:CheckExamples.Counts
/openjdk7/jdk/test/sun/nio/cs/
H A DX11CNS11643.java119 private String table; field in class:X11CNS11643.Decoder
124 table = unicodeCNS1;
127 table = unicodeCNS2;
130 table = unicodeCNS3;
161 if (table == unicodeCNS3) {
164 table);
170 table);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/
H A DRegisterPanel.java30 import javax.swing.table.*;
44 private JTable table; field in class:RegisterPanel
112 table = new JTable(dataModel);
113 table.setCellSelectionEnabled(true);
114 table.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
115 table.setDragEnabled(true);
116 JTableHeader header = table.getTableHeader();
118 JScrollPane scrollPane = new JScrollPane(table);
169 if (table != null) {
170 table
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DProcessListPanel.java32 import javax.swing.table.*;
43 private JTable table; field in class:ProcessListPanel
85 table = new JTable(dataModel);
86 table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
87 JTableHeader header = table.getTableHeader();
89 table.setRowSelectionAllowed(true);
90 table.setColumnSelectionAllowed(false);
94 int viewColumn = table.getColumnModel().getColumnIndexAtX(e.getX());
95 int column = table.convertColumnIndexToModel(viewColumn);
107 int i = table
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DArrayTable.java47 private Object table = null; field in class:ArrayTable
55 * <code>table</code> is null, 0 will be written to <code>s</code>.
60 static void writeArrayTable(ObjectOutputStream s, ArrayTable table) throws IOException { argument
63 if (table == null || (keys = table.getKeys(null)) == null) {
77 && table.get(key) instanceof Serializable)
94 s.writeObject(table.get(key));
109 if (table==null) {
110 table = new Object[] {key, value};
115 Object[] tmp = (Object[])table;
[all...]
/openjdk7/jdk/src/share/classes/java/beans/
H A DWeakIdentityMap.java32 * Hash table based mapping, which uses weak references to store keys
47 private Entry<T>[] table = newTable(1<<3); // table's length MUST be a power of two field in class:WeakIdentityMap
57 int index = getIndex(this.table, hash);
58 for (Entry<T> entry = this.table[index]; entry != null; entry = entry.next) {
72 int index = getIndex(this.table, hash);
73 for (Entry<T> entry = this.table[index]; entry != null; entry = entry.next) {
80 this.table[index] = new Entry<T>(key, hash, value, this.queue, this.table[index]);
82 if (this.table
161 getIndex(Entry<?>[] table, int hash) argument
[all...]

Completed in 89 milliseconds

12345678910