edu.umd.cs.jazz.component
Interface ZPenColor
- All Superinterfaces:
- ZAppearance
- All Known Implementing Classes:
- ZBasicVisualComponent, ZLabel, ZText
- 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.
- Author:
- Benjamin B. Bederson
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.
Copyright � 2003 by University of Maryland, College Park, MD 20742, USA All rights reserved.