java.lang.Object
java.lang.Record
org.autogui.swing.util.NimbusLookAndFeelCustomFlat.LafProp
- Enclosing class:
NimbusLookAndFeelCustomFlat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.head()
Returns the value of thehead
record component.name()
Returns the value of thename
record component.of
(String head, String subItem, String name, NimbusLookAndFeelCustomFlat.LafState... state) of
(String head, String name, NimbusLookAndFeelCustomFlat.LafState... state) state()
Returns the value of thestate
record component.subItem()
Returns the value of thesubItem
record 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 aLafProp
record class.- Parameters:
head
- the value for thehead
record componentsubItem
- the value for thesubItem
record componentname
- the value for thename
record componentstate
- the value for thestate
record 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 thehead
record component.- Returns:
- the value of the
head
record component
-
subItem
Returns the value of thesubItem
record component.- Returns:
- the value of the
subItem
record component
-
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
state
Returns the value of thestate
record component.- Returns:
- the value of the
state
record component
-