|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mindfusion.diagramming.HandlesVisualStyle
public class HandlesVisualStyle
Defines the Pen and Brush objects used to draw items' adjustment handles.
Constructor Summary | |
---|---|
HandlesVisualStyle()
Initializes a new instance of the HandlesVisualStyle class. |
Method Summary | |
---|---|
Pen |
getDashPen()
Gets a Pen used to draw dashed selection frames. |
Brush |
getHandleBrush()
Gets a Brush used to fill the interior of selection handles. |
Pen |
getHandlePen()
Gets a Pen used to draw the border of selection handles. |
Brush |
getHatchBrush()
Gets a Brush used to draw hatch frames. |
Brush |
getPatternBrush()
Gets a Brush used to draw selection frames for the MoveOnly style. |
void |
loadFromXml(java.lang.String elementName,
java.lang.String colorElementName,
org.w3c.dom.Element parentElement,
XmlPersistContext context)
Loads the style from XML. |
void |
readExternal(java.io.ObjectInput in)
|
void |
saveToXml(java.lang.String elementName,
org.w3c.dom.Element parentElement,
XmlPersistContext context)
Saves the style to XML. |
void |
setDashPen(Pen value)
Sets a Pen used to draw dashed selection frames. |
void |
setHandleBrush(Brush value)
Sets a Brush used to fill the interior of selection handles. |
void |
setHandlePen(Pen value)
Sets a Pen used to draw the border of selection handles. |
void |
setHatchBrush(Brush value)
Sets a Brush used to draw hatch frames. |
void |
setPatternBrush(Brush value)
Sets a Brush used to draw selection frames for the MoveOnly style. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HandlesVisualStyle()
Method Detail |
---|
public void saveToXml(java.lang.String elementName, org.w3c.dom.Element parentElement, XmlPersistContext context)
elementName
- The name of the element that describes the style.parentElement
- The parent XML element.context
- An <@link XmlPersistContext} object providing contextual information
about the serialization process and some helper serialization methods.public void loadFromXml(java.lang.String elementName, java.lang.String colorElementName, org.w3c.dom.Element parentElement, XmlPersistContext context) throws javax.xml.transform.TransformerException
elementName
- The name of the element that describes the style.colorElementName
- The name of an element that contains a fallback color.parentElement
- The parent XML element.context
- An <@link XmlPersistContext} object providing contextual information
about the serialization process and some helper serialization methods.
javax.xml.transform.TransformerException
public Pen getHandlePen()
public void setHandlePen(Pen value)
value
- public Brush getHandleBrush()
public void setHandleBrush(Brush value)
value
- public Pen getDashPen()
public void setDashPen(Pen value)
value
- public Brush getHatchBrush()
public void setHatchBrush(Brush value)
value
- public Brush getPatternBrush()
public void setPatternBrush(Brush value)
value
- public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |