/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
import javax.management.*;
@SuppressWarnings("serial")
};
}
}
private static class TableRowDivider {
}
return tableRowDividerText;
}
}
new MBeanInfoTableCellRenderer();
private static class MBeanInfoTableCellRenderer
extends DefaultTableCellRenderer {
if (value instanceof TableRowDivider) {
label.getForeground()));
return label;
}
return comp;
}
}
new MBeanInfoTableCellEditor(new JTextField());
private static class MBeanInfoTableCellEditor
extends Utils.ReadOnlyTableCellEditor {
super(tf);
}
if (value instanceof TableRowDivider) {
label.getForeground()));
return label;
}
return comp;
}
}
public XMBeanInfo() {
// Use the grid layout to display the two tables
//
// MBean*Info table
//
infoTable.setRowSelectionAllowed(false);
infoTable.setColumnSelectionAllowed(false);
// Descriptor table
//
descTable.setRowSelectionAllowed(false);
descTable.setColumnSelectionAllowed(false);
// Add the two tables to the grid
//
}
// Call on EDT
public void emptyInfoTable() {
}
}
// Call on EDT
public void emptyDescTable() {
}
}
// Call on EDT
if (fieldValue instanceof boolean[]) {
} else if (fieldValue instanceof byte[]) {
} else if (fieldValue instanceof char[]) {
} else if (fieldValue instanceof double[]) {
} else if (fieldValue instanceof float[]) {
} else if (fieldValue instanceof int[]) {
} else if (fieldValue instanceof long[]) {
} else if (fieldValue instanceof short[]) {
} else if (fieldValue instanceof Object[]) {
} else {
}
}
}
}
// Call on EDT
// MBeanConstructorInfo
//
int i = 0;
// MBeanParameterInfo
//
int j = 0;
j++;
}
i++;
}
}
// Call on EDT
}
// Call on EDT
case MBeanOperationInfo.INFO:
break;
case MBeanOperationInfo.ACTION:
break;
break;
case MBeanOperationInfo.UNKNOWN:
break;
}
// MBeanParameterInfo
//
int i = 0;
}
}
// Call on EDT
}
// Call on EDT
}
// Call on EDT
}
}