|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.view.tabular.TableStyle.SimpleStyle
public static class TableStyle.SimpleStyle
An immutable TableStyle implementation that provides
constant values and stroke information specified at instance creation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface y.view.tabular.TableStyle |
|---|
TableStyle.SimpleStyle, TableStyle.SimpleStyleDeserializer, TableStyle.SimpleStyleSerializer |
| Constructor Summary | |
|---|---|
TableStyle.SimpleStyle()
Creates a new SimpleStyle. |
|
TableStyle.SimpleStyle(LineType lineType,
Color lineColor,
Color fillColor)
Creates a new SimpleStyle for the specified line type and
colors. |
|
TableStyle.SimpleStyle(LineType borderLineType,
Color borderLineColor,
Color borderFillColor,
LineType lineType,
Color lineColor,
Color fillColor)
Creates a new SimpleStyle for the specified line types and
colors. |
|
| Method Summary | |
|---|---|
Color |
getBorderFillColor(NodeRealizer context)
Returns the value of the style's borderFillColor property. |
Color |
getBorderLineColor(NodeRealizer context)
Returns the value of the style's borderLineColor property. |
Stroke |
getBorderLineType(NodeRealizer context)
Returns the value of the style's borderLineType property. |
Color |
getFillColor(NodeRealizer context)
Returns the value of the style's fillColor property. |
Color |
getLineColor(NodeRealizer context)
Returns the value of the style's lineColor property. |
Stroke |
getLineType(NodeRealizer context)
Returns the value of the style's lineType property. |
void |
readExternal(ObjectInput in)
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableStyle.SimpleStyle()
SimpleStyle.
Invoking this constructor is equivalent to:
new SimpleStyle(null, null, null, null, null, null)
Note: This constructor exist solely for the purpose of deserializing
SimpleStyle instances from YGF data files.
public TableStyle.SimpleStyle(LineType lineType,
Color lineColor,
Color fillColor)
SimpleStyle for the specified line type and
colors. Invoking this constructor is equivalent to:
new SimpleStyle(null, null, null, lineType, lineColor, fillColor)
lineType - the value for the style's lineType property.lineColor - the value for the style's lineColor property.fillColor - the value for the style's fillColor property.
public TableStyle.SimpleStyle(LineType borderLineType,
Color borderLineColor,
Color borderFillColor,
LineType lineType,
Color lineColor,
Color fillColor)
SimpleStyle for the specified line types and
colors.
borderLineType - the value for the style's borderLineType property.borderLineColor - the value for the style's borderLineColor property.borderFillColor - the value for the style's borderFillColor property.lineType - the value for the style's lineType property.lineColor - the value for the style's lineColor property.fillColor - the value for the style's fillColor property.| Method Detail |
|---|
public Stroke getBorderLineType(NodeRealizer context)
borderLineType property.
getBorderLineType in interface TableStylecontext - ignored.
borderLineType property.TableNodePainter.newDefaultInstance()public Color getBorderLineColor(NodeRealizer context)
borderLineColor property.
getBorderLineColor in interface TableStylecontext - ignored.
borderLineColor property.TableNodePainter.newDefaultInstance()public Color getBorderFillColor(NodeRealizer context)
borderFillColor property.
getBorderFillColor in interface TableStylecontext - ignored.
borderFillColor property.TableNodePainter.newDefaultInstance()public Stroke getLineType(NodeRealizer context)
lineType property.
getLineType in interface TableStylecontext - ignored.
lineType property.TableNodePainter.newDefaultInstance()public Color getLineColor(NodeRealizer context)
lineColor property.
getLineColor in interface TableStylecontext - ignored.
lineColor property.TableNodePainter.newDefaultInstance()public Color getFillColor(NodeRealizer context)
fillColor property.
getFillColor in interface TableStylecontext - ignored.
fillColor property.TableNodePainter.newDefaultInstance()
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||