C# Class Flood.GUI.Controls.Property.Color

Color property.
Inheritance: Text
Afficher le fichier Open project: FloodProject/flood

Protected Properties

Свойство Type Description
m_Button Flood.GUI.ControlInternal.ColorButton

Méthodes publiques

Méthode Description
Color ( Controls parent ) : System

Initializes a new instance of the Color class.

SetValue ( string value, bool fireEvents = false ) : void

Sets the property value.

Méthodes protégées

Méthode Description
DoChanged ( ) : void
OnButtonPressed ( Controls control ) : void

Color-select button press handler.

OnColorChanged ( Controls control ) : void

Color changed handler.

Private Methods

Méthode Description
GetColorFromText ( ) : Flood.Color
SetTextFromColor ( Flood color ) : void

Method Details

Color() public méthode

Initializes a new instance of the Color class.
public Color ( Controls parent ) : System
parent Controls Parent control.
Résultat System

DoChanged() protected méthode

protected DoChanged ( ) : void
Résultat void

OnButtonPressed() protected méthode

Color-select button press handler.
protected OnButtonPressed ( Controls control ) : void
control Controls Event source.
Résultat void

OnColorChanged() protected méthode

Color changed handler.
protected OnColorChanged ( Controls control ) : void
control Controls Event source.
Résultat void

SetValue() public méthode

Sets the property value.
public SetValue ( string value, bool fireEvents = false ) : void
value string Value to set.
fireEvents bool Determines whether to fire "value changed" event.
Résultat void

Property Details

m_Button protected_oe property

protected ColorButton,Flood.GUI.ControlInternal m_Button
Résultat Flood.GUI.ControlInternal.ColorButton