java.lang.Object
java.lang.Record
org.autogui.swing.util.NimbusLookAndFeelCustomFlat.LafProp
- Enclosing class:
NimbusLookAndFeelCustomFlat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.head()Returns the value of theheadrecord component.name()Returns the value of thenamerecord component.of(String head, String subItem, String name, NimbusLookAndFeelCustomFlat.LafState... state) of(String head, String name, NimbusLookAndFeelCustomFlat.LafState... state) state()Returns the value of thestaterecord component.subItem()Returns the value of thesubItemrecord component.toString()Returns a string representation of this record class.withHead(String head, String subItem, NimbusLookAndFeelCustomFlat.LafState... state) withHead(String head, NimbusLookAndFeelCustomFlat.LafState... state) withName(String name, NimbusLookAndFeelCustomFlat.LafState... state)
-
Constructor Details
-
LafProp
public LafProp(String head, String subItem, String name, EnumSet<NimbusLookAndFeelCustomFlat.LafState> state) Creates an instance of aLafProprecord class.- Parameters:
head- the value for theheadrecord componentsubItem- the value for thesubItemrecord componentname- the value for thenamerecord componentstate- the value for thestaterecord component
-
-
Method Details
-
of
public static NimbusLookAndFeelCustomFlat.LafProp of(String head, String subItem, String name, NimbusLookAndFeelCustomFlat.LafState... state) -
of
public static NimbusLookAndFeelCustomFlat.LafProp of(String head, String name, NimbusLookAndFeelCustomFlat.LafState... state) -
of
public static NimbusLookAndFeelCustomFlat.LafProp of(String head, String subItem, String name, EnumSet<NimbusLookAndFeelCustomFlat.LafState> state) -
name
-
head
-
head
-
withName
public NimbusLookAndFeelCustomFlat.LafProp withName(String name, NimbusLookAndFeelCustomFlat.LafState... state) -
withHead
public NimbusLookAndFeelCustomFlat.LafProp withHead(String head, String subItem, NimbusLookAndFeelCustomFlat.LafState... state) -
withHead
public NimbusLookAndFeelCustomFlat.LafProp withHead(String head, NimbusLookAndFeelCustomFlat.LafState... state) -
withStates
public NimbusLookAndFeelCustomFlat.LafProp withStates(NimbusLookAndFeelCustomFlat.LafState... state) -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
head
Returns the value of theheadrecord component.- Returns:
- the value of the
headrecord component
-
subItem
Returns the value of thesubItemrecord component.- Returns:
- the value of the
subItemrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-