public static class Control.Type extends Object
Type
class represents the type of
the control. Static instances are provided for the
common types.Modifier | Constructor and Description |
---|---|
protected |
Type(String name)
Constructs a new control type with the name specified.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Finalizes the equals method
|
int |
hashCode()
Finalizes the hashCode method
|
String |
toString()
Provides the
String representation of the control type. |
protected Type(String name)
name
- the name of the new control type.public final boolean equals(Object obj)
equals
in class Object
obj
- Object
the object to compare with this object.true
if the object is the same as this object
false
if it is different from this object.Object.hashCode()
public final int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.