embedCONTROLCore
Public Member Functions | List of all members
com.thecoderscorner.embedcontrol.core.controlmgr.color.NullConditionalColoring Class Reference
Inheritance diagram for com.thecoderscorner.embedcontrol.core.controlmgr.color.NullConditionalColoring:
com.thecoderscorner.embedcontrol.core.controlmgr.color.ConditionalColoring

Public Member Functions

PortableColor backgroundFor (RenderingStatus status, ColorComponentType ty)
 
PortableColor foregroundFor (RenderingStatus status, ColorComponentType ty)
 

Detailed Description

Any empty implementation of conditional coloring that returns WHITE background, BLACK text always.

Member Function Documentation

◆ backgroundFor()

PortableColor com.thecoderscorner.embedcontrol.core.controlmgr.color.NullConditionalColoring.backgroundFor ( RenderingStatus  status,
ColorComponentType  compType 
)

Gets the background color associated with the current state or compType.

Parameters
statusthe current rendering status
compTypethe type of color to select
Returns
the color associated with the state for background

Implements com.thecoderscorner.embedcontrol.core.controlmgr.color.ConditionalColoring.

◆ foregroundFor()

PortableColor com.thecoderscorner.embedcontrol.core.controlmgr.color.NullConditionalColoring.foregroundFor ( RenderingStatus  status,
ColorComponentType  compType 
)

Gets the foreground color associated with the current state or compType.

Parameters
statusthe current rendering status
compTypethe type of color to select
Returns
the color associated with the state for foreground

Implements com.thecoderscorner.embedcontrol.core.controlmgr.color.ConditionalColoring.


The documentation for this class was generated from the following file: