| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Set | |
| private static final Set | |
| private static final Set | |
| private static final Set | |
| private static final Set | |
| private static final Map | |
| private static final Set | |
| private static final Map | |
| private static final Set | |
| private static Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | canBeRenderedAsArray(Object elem)
Check if the given element denotes a supported array-friendly data structure, i.e. a data structure jconsole can render as an array. |
| private static Number | |
| public static Object | createObjectFromString(String type, String value)
This method attempts to create an object of the given "type" using the "value" parameter. |
| public static Throwable | |
| public static String | getArrayClassName(String name)
This method provides a readable classname if it's an array, i.e. either the classname of the component type for arrays of java reference types or the name of the primitive type for arrays of java primitive types. |
| public static Class | |
| public static String | getDefaultValue(String type)
This method inserts a default value for the standard java types, else it inserts the text name of the expected class type. |
| public static Object[] | getParameters(XTextField[] inputs, String[] params)
This method is responsible for converting the inputs given by the user into a useful object array for passing into a parameter array. |
| public static String | |
| public static boolean | isEditableType(String type)
This method tells whether the type is editable (means can be created with a String or not) |
| public static boolean | |
| public static boolean | isUniformCollection(Collection<?> c, Class<?> e)
Check if the given collection is a uniform collection of the given type. |
| public static Object | newStringConstructor(String type, String param)
Try to create a Java object using a one-string-param constructor. |
| booleanTypes | back to summary |
|---|---|
| private static final Set<String> booleanTypes | |
| editableTypes | back to summary |
|---|---|
| private static final Set<String> editableTypes | |
| extraEditableClasses | back to summary |
|---|---|
| private static final Set<Class<?>> extraEditableClasses | |
| extraNumericalTypes | back to summary |
|---|---|
| private static final Set<String> extraNumericalTypes | |
| numericalTypes | back to summary |
|---|---|
| private static final Set<String> numericalTypes | |
| primitiveMap | back to summary |
|---|---|
| private static final Map<String, Class<?>> primitiveMap | |
| primitives | back to summary |
|---|---|
| private static final Set<Class<?>> primitives | |
| primitiveToWrapper | back to summary |
|---|---|
| private static final Map<String, Class<?>> primitiveToWrapper | |
| primitiveWrappers | back to summary |
|---|---|
| private static final Set<Class<?>> primitiveWrappers | |
| tableNavigationKeys | back to summary |
|---|---|
| private static Set<Integer> tableNavigationKeys | |
| Utils | back to summary |
|---|---|
| private Utils() | |
| canBeRenderedAsArray | back to summary |
|---|---|
| public static boolean canBeRenderedAsArray(Object elem) Check if the given element denotes a supported array-friendly data structure, i.e. a data structure jconsole can render as an array. | |
| createNumberFromStringValue | back to summary |
|---|---|
| private static Number createNumberFromStringValue(String value) throws NumberFormatException Try to convert a string value into a numerical value. | |
| createObjectFromString | back to summary |
|---|---|
| public static Object createObjectFromString(String type, String value) throws Exception This method attempts to create an object of the given "type" using the "value" parameter. e.g. calling createObjectFromString("java.lang.Integer", "10") will return an Integer object initialized to 10. | |
| getActualException | back to summary |
|---|---|
| public static Throwable getActualException(Throwable e) If the exception is wrapped, unwrap it. | |
| getArrayClassName | back to summary |
|---|---|
| public static String getArrayClassName(String name) This method provides a readable classname if it's an array, i.e. either the classname of the component type for arrays of java reference types or the name of the primitive type for arrays of java primitive types. Otherwise, it returns null. | |
| getClass | back to summary |
|---|---|
| public static Class This method returns the class matching the name className. It's used to cater for the primitive types. | |
| getDefaultValue | back to summary |
|---|---|
| public static String getDefaultValue(String type) This method inserts a default value for the standard java types, else it inserts the text name of the expected class type. It acts to give a clue as to the input type. | |
| getParameters | back to summary |
|---|---|
| public static Object[] getParameters(XTextField[] inputs, String[] params) throws Exception This method is responsible for converting the inputs given by the user into a useful object array for passing into a parameter array. | |
| getReadableClassName | back to summary |
|---|---|
| public static String getReadableClassName(String name) This methods provides a readable classname. If the supplied name parameter denotes an array this method returns either the classname of the component type for arrays of java reference types or the name of the primitive type for arrays of java primitive types followed by n-times "[]" where 'n' denotes the arity of the array. Otherwise, if the supplied name doesn't denote an array it returns the same classname. | |
| isEditableType | back to summary |
|---|---|
| public static boolean isEditableType(String type) This method tells whether the type is editable (means can be created with a String or not) | |
| isSupportedArray | back to summary |
|---|---|
| public static boolean isSupportedArray(Object elem) Check if the given element is an array. Multidimensional arrays are not supported. Non-empty 1-dimensional arrays of CompositeData and TabularData are not handled as arrays but as tabular data. | |
| isUniformCollection | back to summary |
|---|---|
| public static boolean isUniformCollection(Collection<?> c, Class<?> e) Check if the given collection is a uniform collection of the given type. | |
| newStringConstructor | back to summary |
|---|---|
| public static Object newStringConstructor(String type, String param) throws Exception Try to create a Java object using a one-string-param constructor. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | keyPressed(KeyEvent e)
Overrides java. Implements java. Invoked when a key has been pressed. |
| public void | keyTyped(KeyEvent e)
Overrides java. Implements java. Invoked when a key has been typed. |
| defaultEditorKitCopyActionName | back to summary |
|---|---|
| private static final String defaultEditorKitCopyActionName | |
| transferHandlerCopyActionName | back to summary |
|---|---|
| private static final String transferHandlerCopyActionName | |
| CopyKeyAdapter | back to summary |
|---|---|
| public CopyKeyAdapter() | |
| keyPressed | back to summary |
|---|---|
| public void keyPressed(KeyEvent e) Overrides java. Implements java. Doc from java. Invoked when a key has been pressed.
| |
| keyTyped | back to summary |
|---|---|
| public void keyTyped(KeyEvent e) Overrides java. Implements java. Doc from java. Invoked when a key has been typed. This event occurs when a key press is followed by a key release.
| |
| Modifier and Type | Field and Description |
|---|---|
| private CellEditor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | focusLost(FocusEvent e)
Overrides java. Implements java. Invoked when a component loses the keyboard focus. |
| editor | back to summary |
|---|---|
| private CellEditor editor | |
| EditFocusAdapter | back to summary |
|---|---|
| public EditFocusAdapter(CellEditor editor) | |
| focusLost | back to summary |
|---|---|
| public void focusLost(FocusEvent e) Overrides java. Implements java. Doc from java. Invoked when a component loses the keyboard focus.
| |
| Access | Constructor and Description |
|---|---|
| public |
| ReadOnlyTableCellEditor | back to summary |
|---|---|
| public ReadOnlyTableCellEditor(JTextField tf) | |