|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.yworks.yfiles.server.graphml.flexio.data.Table.StripeDefaults
The default settings for a newly created Column
or Row
.
Constructor Summary | |
Table.StripeDefaults()
|
Method Summary | |
MarkupExtension |
createMarkupExtension(Lookup lookup)
Creates a markup extension that can be used instead of the original class. |
Insets |
getInsets()
The default insets for the stripe. |
ILabelModelParameter |
getLabelModelParameter()
The default ILabelModelParameter . |
ILabelStyle |
getLabelStyle()
The default style for
a stripe label. |
double |
getMinimumSize()
The default minimum size for the stripe. |
double |
getSize()
The default size for the stripe. |
INodeStyle |
getStyle()
The default style of a stripe. |
boolean |
isAutoAdjustPreferredSize()
Whether to automatically adjust the preferred size upon creation. |
boolean |
isShareLabelModelParameterInstance()
Whether to share label model parameter instances for a newly created stripe label. |
boolean |
isShareLabelStyleInstance()
Whether to share style instances for a newly created stripe label. |
boolean |
isShareStyleInstance()
Whether to share style instances for a newly created stripe. |
void |
setAutoAdjustPreferredSize(boolean autoAdjustPreferredSize)
Sets whether to automatically adjust the preferred size upon creation. |
void |
setInsets(Insets insets)
Sets the default insets for the stripe. |
void |
setLabelModelParameter(ILabelModelParameter labelModelParameter)
Sets the default ILabelModelParameter . |
void |
setLabelStyle(ILabelStyle style)
Sets the default style for
a stripe label. |
void |
setMinimumSize(double minimumSize)
The default minimum size for the stripe. |
void |
setShareLabelModelParameterInstance(boolean shareLabelModelParameterInstance)
Sets whether to share label model parameter instances for a newly created stripe label. |
void |
setShareLabelStyleInstance(boolean shareStyleInstance)
Sets whether to share style instances for a newly created stripe label. |
void |
setShareStyleInstance(boolean shareStyleInstance)
Sets whether to share style instances for a newly created stripe. |
void |
setSize(double size)
Sets the default size for the stripe. |
void |
setStyle(INodeStyle style)
Sets the default style of a stripe. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Table.StripeDefaults()
Method Detail |
public Insets getInsets()
public void setInsets(Insets insets)
insets
- The default insets.public double getMinimumSize()
The size of a Column
is its
with, the size of a Row
is its height.
public void setMinimumSize(double minimumSize)
The size of a Column
is its
with, the size of a Row
is its height.
minimumSize
- The default minimum size.public INodeStyle getStyle()
public void setStyle(INodeStyle style)
style
- The default style.public double getSize()
The size of a Column
is its
with, the size of a Row
is its height.
public void setSize(double size)
The size of a Column
is its
with, the size of a Row
is its height.
size
- The default size.public boolean isShareStyleInstance()
If set to false
the style for a newly created stripe will be cloned.
At the server side this setting has no effect. It will, however, be transferred to the client.
public void setShareStyleInstance(boolean shareStyleInstance)
If set to false
the style for a newly created stripe will be cloned.
At the server side this setting has no effect. It will, however, be transferred to the client.
shareStyleInstance
- Whether to share style instances for a newly created stripe.public MarkupExtension createMarkupExtension(Lookup lookup)
IMarkupExtensionFactory
createMarkupExtension
in interface IMarkupExtensionFactory
lookup
- The lookup that shall be considered when creating the markup extension.public ILabelModelParameter getLabelModelParameter()
ILabelModelParameter
.
public void setLabelModelParameter(ILabelModelParameter labelModelParameter)
ILabelModelParameter
.
labelModelParameter
- The default label model parameter.public ILabelStyle getLabelStyle()
style
for
a stripe label.
public void setLabelStyle(ILabelStyle style)
style
for
a stripe label.
style
- The default style.public boolean isAutoAdjustPreferredSize()
This setting has no effect at the server side. It will, however, be transferred to the client.
The default is true
public void setAutoAdjustPreferredSize(boolean autoAdjustPreferredSize)
This setting has no effect at the server side. It will, however, be transferred to the client.
The default is true
autoAdjustPreferredSize
- Whether to automatically adjust the preferred size upon creation.public boolean isShareLabelModelParameterInstance()
If set to false
the label model parameter for a newly created stripe label will be cloned.
The default is true
public void setShareLabelModelParameterInstance(boolean shareLabelModelParameterInstance)
If set to false
the label model parameter for a newly created stripe label will be cloned.
The default is true
shareLabelModelParameterInstance
- Whether to share label model parameter instances for a newly created stripe label.public boolean isShareLabelStyleInstance()
If set to false
the style for a newly created stripe label will be cloned.
At the server side this setting has no effect. It will, however, be transferred to the client.
The default is true
public void setShareLabelStyleInstance(boolean shareStyleInstance)
If set to false
the style for a newly created stripe label will be cloned.
At the server side this setting has no effect. It will, however, be transferred to the client.
The default is true
shareStyleInstance
- Whether to share style instances for a newly created stripe label.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |