fr.ove.openmath.jome.ctrlview.bidim
Interface Colorizable

All Known Implementing Classes:
Display

public interface Colorizable

Interface that must implement all objects that want to be colored.

Version:
2.0 29/06/1999
Author:
© 1999 DIRAT Laurent

Method Summary
 java.awt.Color getBackgroundColor()
          Returns the background color of the instance.
 java.awt.Color getForegroundColor()
          Returns the foreground color of the instance.
 java.awt.Color getSelectionColor()
          Returns the selection color of the instance.
 void setBackgroundColor(java.awt.Color backgroundColor)
          Sets the background color of the instance.
 void setForegroundColor(java.awt.Color foregroundColor)
          Sets the foreground color of the instance.
 void setSelectionColor(java.awt.Color selectionColor)
          Sets the selection color of the instance.
 

Method Detail

setForegroundColor

public void setForegroundColor(java.awt.Color foregroundColor)
Sets the foreground color of the instance.

Parameters:
foregroundColor - the new color.

getForegroundColor

public java.awt.Color getForegroundColor()
Returns the foreground color of the instance.


setBackgroundColor

public void setBackgroundColor(java.awt.Color backgroundColor)
Sets the background color of the instance.

Parameters:
backgroundColor - the new color.

getBackgroundColor

public java.awt.Color getBackgroundColor()
Returns the background color of the instance.


setSelectionColor

public void setSelectionColor(java.awt.Color selectionColor)
Sets the selection color of the instance.

Parameters:
selectionColor - the new color.

getSelectionColor

public java.awt.Color getSelectionColor()
Returns the selection color of the instance.



Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.