Class ColorProperty
java.lang.Object
com.levigo.jadice.annotation.profiles.PropertyProfile<Color>
com.levigo.jadice.annotation.profiles.ColorProperty
-
Field Summary
Fields inherited from class com.levigo.jadice.annotation.profiles.PropertyProfile
propertyType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
boolean
void
setAllowTransparency
(boolean allowTransparency) void
setDefaultAlphaValue
(float defaultAlphaValue) void
setPropertyType
(Class<?> propertyType) toString()
Methods inherited from class com.levigo.jadice.annotation.profiles.PropertyProfile
equals, getAnnotationProfile, getDefaultValue, getEditorFactories, getEditorFactory, getEditorFactory, getLabel, getLabels, getPreferredValues, getPropertyName, getPropertyType, hashCode, isVirtual, setDefaultValue, setDefaultValueXML, setLabels, setPreferredValues, setPropertyName, setVirtual, validate
-
Constructor Details
-
ColorProperty
public ColorProperty()
-
-
Method Details
-
setPropertyType
- Overrides:
setPropertyType
in classPropertyProfile<Color>
- Parameters:
propertyType
- the propertyType to set
-
isAllowTransparency
public boolean isAllowTransparency() -
setAllowTransparency
public void setAllowTransparency(boolean allowTransparency) -
getDefaultAlphaValue
public float getDefaultAlphaValue() -
setDefaultAlphaValue
public void setDefaultAlphaValue(float defaultAlphaValue) -
toString
-