|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.infonode.gui.colorprovider.AbstractColorProvider
public abstract class AbstractColorProvider
Base class for color providers. It returns the color black.
| Constructor Summary | |
|---|---|
AbstractColorProvider()
|
|
| Method Summary | |
|---|---|
java.awt.Color |
getColor()
Returns the default color when no component is available. |
java.awt.Color |
getColor(java.awt.Component component)
Returns the color obtained from the given component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractColorProvider()
| Method Detail |
|---|
public java.awt.Color getColor()
ColorProvider
getColor in interface ColorProviderpublic java.awt.Color getColor(java.awt.Component component)
ColorProvider
getColor in interface ColorProvidercomponent - the component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||