Class ColorStateTable
java.lang.Object
com.inductiveautomation.factorypmi.application.components.util.ColorStateTable
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SimpleBoundColorAdapter.ColorStateTable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionColorStateTable
(ColorStateTable clone) ColorStateTable
(TreeMap<Number, ColorState> clonestates, ColorState fallback) This constructor is used for serialization, to overcome a concurrentmodificationexception that occures when using default serialization. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
setFallback
(ColorState state) void
setStates
(TreeMap<Number, ColorState> map)
-
Constructor Details
-
ColorStateTable
public ColorStateTable() -
ColorStateTable
-
ColorStateTable
This constructor is used for serialization, to overcome a concurrentmodificationexception that occures when using default serialization. We copy the states passed in to make sure that the treemap has OUR comparator
-
-
Method Details