public abstract class AbstractLookAndFeelDescriptor extends java.lang.Object implements LookAndFeelDescriptor
Constructor and Description |
---|
AbstractLookAndFeelDescriptor(java.lang.String identifier,
java.lang.String displayName) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LookAndFeelDescriptor obj) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDisplayName() |
java.lang.String |
getIdentifier() |
int |
hashCode() |
void |
install() |
boolean |
isCurrent() |
void |
preview(java.awt.Component component) |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLookAndFeel
public AbstractLookAndFeelDescriptor(@Nonnull java.lang.String identifier, @Nonnull java.lang.String displayName)
@Nonnull public final java.lang.String getIdentifier()
getIdentifier
in interface LookAndFeelDescriptor
@Nonnull public final java.lang.String getDisplayName()
getDisplayName
in interface LookAndFeelDescriptor
public java.lang.String toString()
toString
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public final int compareTo(LookAndFeelDescriptor obj)
compareTo
in interface java.lang.Comparable<LookAndFeelDescriptor>
public void preview(@Nonnull java.awt.Component component)
preview
in interface LookAndFeelDescriptor
public void install()
install
in interface LookAndFeelDescriptor
public boolean isCurrent()
isCurrent
in interface LookAndFeelDescriptor