@OpenApiAll
public class PropertyPool
extends java.lang.Object
Constructor and Description |
---|
PropertyPool() |
Modifier and Type | Method and Description |
---|---|
static BooleanProperty |
getBooleanProperty(BooleanProperty p)
Returns shared instance of boolean property with the same id and value as given property.
|
static BooleanProperty |
getBooleanProperty(java.lang.String id,
boolean value)
Returns shared instance of boolean property with the given id and value.
|
static BooleanProperty |
getBooleanProperty(java.lang.String id,
boolean value,
java.lang.String group)
Returns shared instance of boolean property with the given id and value.
|
static ColorProperty |
getColorProperty(ColorProperty p)
Returns shared instance of color property with the same id and value as given property.
|
static ColorProperty |
getColorProperty(java.lang.String id,
java.awt.Color value)
Returns shared instance of color property with the given id and value.
|
static ColorProperty |
getColorProperty(java.lang.String id,
java.awt.Color value,
java.lang.String group)
Returns shared instance of color property with the given id and value.
|
static Property |
getProperty(Property property)
Returns shared instance of given property.
|
public static BooleanProperty getBooleanProperty(BooleanProperty p)
p
- the given property.public static BooleanProperty getBooleanProperty(java.lang.String id, boolean value)
id
- the property id.value
- the given value of the property.public static BooleanProperty getBooleanProperty(java.lang.String id, boolean value, @CheckForNull java.lang.String group)
id
- the property id.value
- the given value of the property.group
- property grouppublic static ColorProperty getColorProperty(ColorProperty p)
p
- the given property.public static ColorProperty getColorProperty(java.lang.String id, java.awt.Color value)
id
- the property id.value
- the given value of the property.public static ColorProperty getColorProperty(java.lang.String id, java.awt.Color value, @CheckForNull java.lang.String group)
id
- the property id.value
- the given value of the property.group
- property group