C# Класс MoodSwingGUI.MSGUIClickable

MSGUIClickable is a GUI component that is both drawable and clickable
Наследование: MoodSwingCoreComponents.MS2DClickable, MSGUIObject
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
toolTip MSToolTip

Открытые методы

Метод Описание
Hover ( ) : void

What to do when this MSGUIClickable has been hovered.

LeftClick ( ) : void

What to do when this MSGUIClickable has been left-clicked.

MSGUIClickable ( Rectangle boundingRectangle, Shape shape, MSToolTip toolTip, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MiddleClick ( ) : void

What to do when this MSGUIClickable has been middle-clicked.

RightClick ( ) : void

What to do when this MSGUIClickable has been right-clicked.

UnHover ( ) : void

What to do when this MSGUIClickable has previously been hovered but now isn't.

UnLeftClick ( ) : void

What to do when this MSGUIClickable has previously been left-clicked and is now released.

UnMiddleClick ( ) : void

What to do when this MSGUIClickable has previously been middle-clicked and is now released.

UnRightClick ( ) : void

What to do when this MSGUIClickable has previously been right-clicked and is now released.

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

Hover() публичный абстрактный Метод

What to do when this MSGUIClickable has been hovered.
public abstract Hover ( ) : void
Результат void

LeftClick() публичный абстрактный Метод

What to do when this MSGUIClickable has been left-clicked.
public abstract LeftClick ( ) : void
Результат void

MSGUIClickable() публичный Метод

public MSGUIClickable ( Rectangle boundingRectangle, Shape shape, MSToolTip toolTip, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
boundingRectangle Microsoft.Xna.Framework.Rectangle
shape Shape
toolTip MSToolTip
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
Результат System

MiddleClick() публичный абстрактный Метод

What to do when this MSGUIClickable has been middle-clicked.
public abstract MiddleClick ( ) : void
Результат void

RightClick() публичный абстрактный Метод

What to do when this MSGUIClickable has been right-clicked.
public abstract RightClick ( ) : void
Результат void

UnHover() публичный абстрактный Метод

What to do when this MSGUIClickable has previously been hovered but now isn't.
public abstract UnHover ( ) : void
Результат void

UnLeftClick() публичный абстрактный Метод

What to do when this MSGUIClickable has previously been left-clicked and is now released.
public abstract UnLeftClick ( ) : void
Результат void

UnMiddleClick() публичный абстрактный Метод

What to do when this MSGUIClickable has previously been middle-clicked and is now released.
public abstract UnMiddleClick ( ) : void
Результат void

UnRightClick() публичный абстрактный Метод

What to do when this MSGUIClickable has previously been right-clicked and is now released.
public abstract UnRightClick ( ) : void
Результат void

Описание свойств

toolTip защищенное свойство

protected MSToolTip,MoodSwingGUI toolTip
Результат MSToolTip