Class Brush
java.lang.Object
de.eldoria.schematicbrush.storage.brush.Brush
- All Implemented Interfaces:
Comparable<Brush>
Class used for serialization and saving of a
BrushBuilderSnapshot/-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBrush(String name, BrushBuilder builder) Constructs a new brush with the given brush.Brush(String name, BrushBuilderSnapshot snapshot) Constructs a new brush with the given brush.Brush(String name, String description, BrushBuilderSnapshot snapshot) Constructs a new brush with the given snapshot. -
Method Summary
Modifier and TypeMethodDescriptionintvoiddescription(String description) detailComponent(boolean global, BrushSettingsRegistry registry) booleaninthashCode()infoComponent(boolean global, boolean canDelete, BrushSettingsRegistry registry) name()Name of brushsimpleComponent(BrushSettingsRegistry registry) snapshot()Snapshot of the brush
-
Field Details
-
description
-
-
Constructor Details
-
Brush
Constructs a new brush with the given snapshot.- Parameters:
name- name of brushsnapshot- snapshot of brush
-
Brush
Constructs a new brush with the given brush.- Parameters:
name- name of brushbuilder- brush builder
-
Brush
Constructs a new brush with the given brush.- Parameters:
name- name of brushsnapshot- snapshot
-
-
Method Details
-
name
-
snapshot
-
equals
-
hashCode
-
description
-
description
-
compareTo
- Specified by:
compareToin interfaceComparable<Brush>
-
simpleComponent
-
infoComponent
-
detailComponent
-