edu.umd.cs.jazz.component
Interface ZPenColor
- All Superinterfaces:
- ZAppearance
- All Known Implementing Classes:
- ZCoordList, ZText, ZRectangle
- public interface ZPenColor
- extends ZAppearance
ZPenColor represents the "pen color" attribute of a visual component.
Any visual components that support a pen color should implement this interface.
|
Method Summary |
java.awt.Color |
getPenColor()
Get the pen color of this visual component. |
void |
setPenColor(java.awt.Color color)
Set the pen color of this visual component. |
setPenColor
public void setPenColor(java.awt.Color color)
- Set the pen color of this visual component.
- Parameters:
color - the pen color, or null if none.
getPenColor
public java.awt.Color getPenColor()
- Get the pen color of this visual component.
- Returns:
- the pen color, or null if none.