@Test public void testSerializable() { new TestSerializable<ReadonlyLineStyle>().assertSerializable( new LineStyle(Color.GREEN.copy(), 2.0F, false)); }
@Override public LineStyle copy() { return new LineStyle(this); }
LineStyle implements ReadonlyLineStyle { @Override public LineStyle copy() { return new LineStyle(this); } }
LineStyle implements ReadonlyLineStyle { @Override public LineStyle copy() { return new LineStyle(this); } LineStyle(Color color, float width, boolean hasSecondaryColor);  LineStyle(Color mainColor, float mainWidth, Color secondaryColor, float secondaryWidth);  LineStyle(ReadonlyLineStyle other); }
LineStyle implements ReadonlyLineStyle { @Override public LineStyle copy() { return new LineStyle(this); } LineStyle(Color color, float width, boolean hasSecondaryColor);  LineStyle(Color mainColor, float mainWidth, Color secondaryColor, float secondaryWidth);  LineStyle(ReadonlyLineStyle other); @Override LineStyle copy(); @Override ReadonlyColor getMainReadonlyColor(); @Override ReadonlyColor getSecondaryReadonlyColor(); @Override float getMainWidth(); @Override float getSecondaryWidth(); @Override boolean hasSecondaryColor(); @Override boolean glApply(boolean useSecondary); @Override boolean isAnimating(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); Color getMainColor(); Color getSecondaryColor(); LineStyle set(Color color, float width, boolean hasSecondaryColor); LineStyle set(Color mainColor, float mainWidth, Color secondaryColor, float secondaryWidth); LineStyle setMainColor(Color mainColor); LineStyle setMainWidth(float mainWidth); LineStyle setSecondaryColor(Color secondaryColor); LineStyle setSecondaryColorFromMain(); LineStyle setSecondaryWidth(float secondaryWidth); }
LineStyle implements ReadonlyLineStyle { @Override public LineStyle copy() { return new LineStyle(this); } LineStyle(Color color, float width, boolean hasSecondaryColor);  LineStyle(Color mainColor, float mainWidth, Color secondaryColor, float secondaryWidth);  LineStyle(ReadonlyLineStyle other); @Override LineStyle copy(); @Override ReadonlyColor getMainReadonlyColor(); @Override ReadonlyColor getSecondaryReadonlyColor(); @Override float getMainWidth(); @Override float getSecondaryWidth(); @Override boolean hasSecondaryColor(); @Override boolean glApply(boolean useSecondary); @Override boolean isAnimating(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); Color getMainColor(); Color getSecondaryColor(); LineStyle set(Color color, float width, boolean hasSecondaryColor); LineStyle set(Color mainColor, float mainWidth, Color secondaryColor, float secondaryWidth); LineStyle setMainColor(Color mainColor); LineStyle setMainWidth(float mainWidth); LineStyle setSecondaryColor(Color secondaryColor); LineStyle setSecondaryColorFromMain(); LineStyle setSecondaryWidth(float secondaryWidth); static final ReadonlyLineStyle DEFAULT; }