C# Класс Longkong.ColorPicker.Controls.ColorSpace

Abstract base class for the color spaces used in the application.
Наследование: System.Windows.Forms.UserControl
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetColor Color
ResetComponents void
SetDefaultSelection void

Защищенные методы

Метод Описание
ChangeCurrentlySelectedComponent ( ColorSpaceComponent component ) : void

Changes the currently selected color space component.

ColorSpace ( ) : System

Constructor.

ComponentSelected ( ColorSpaceComponent sender, EventArgs e ) : void

Handles the ComponentSelected event that the ColorSpaceComponent raises.

ComponentTextKeyUp ( ColorSpaceComponent sender, EventArgs e ) : void

Handles the ComponentTextKeyUp event that the ColorSpaceComponent raises.

OnComponentValueChanged ( EventArgs e ) : void

Raises the ComponentValueChanged event.

OnSelectedComponentChanged ( EventArgs e ) : void

Raises the SelectedComponentChanged event.

UpdateValues ( IColorSpaceStructure csStructure ) : void

Updates the color space coordinate values.

Приватные методы

Метод Описание
GetColor ( ) : Color

Returns a Color object representing the color that the color space's coordinates represent.

ResetComponents ( ) : void

Sets the selected property of the color space components to false.

SetDefaultSelection ( ) : void

Sets the default selected component.

Описание методов

ChangeCurrentlySelectedComponent() защищенный Метод

Changes the currently selected color space component.
protected ChangeCurrentlySelectedComponent ( ColorSpaceComponent component ) : void
component ColorSpaceComponent A ColorSpaceComponent representing the /// component that is to be set as the selected component.
Результат void

ColorSpace() защищенный Метод

Constructor.
protected ColorSpace ( ) : System
Результат System

ComponentSelected() защищенный Метод

Handles the ComponentSelected event that the ColorSpaceComponent raises.
protected ComponentSelected ( ColorSpaceComponent sender, EventArgs e ) : void
sender ColorSpaceComponent The ColorSpaceComponent that raised the event.
e System.EventArgs An EventArgs containing the event data.
Результат void

ComponentTextKeyUp() защищенный Метод

Handles the ComponentTextKeyUp event that the ColorSpaceComponent raises.
protected ComponentTextKeyUp ( ColorSpaceComponent sender, EventArgs e ) : void
sender ColorSpaceComponent The ColorSpaceComponent that raised the event.
e System.EventArgs An EventArgs containing the event data.
Результат void

OnComponentValueChanged() защищенный Метод

Raises the ComponentValueChanged event.
protected OnComponentValueChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing event data.
Результат void

OnSelectedComponentChanged() защищенный Метод

Raises the SelectedComponentChanged event.
protected OnSelectedComponentChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing event data.
Результат void

UpdateValues() защищенный абстрактный Метод

Updates the color space coordinate values.
protected abstract UpdateValues ( IColorSpaceStructure csStructure ) : void
csStructure IColorSpaceStructure A IColorSpaceStructure object containing /// the coordinate values that the color space is to be updated with.
Результат void