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
- the reference object with which to compare.true
if this object is the same as the obj
argument; false
otherwise.Object.hashCode()
,
HashMap
public final int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(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, 2014, Oracle and/or its affiliates. All rights reserved.