C# 클래스 Axiom.Samples.SelectMenu

Basic selection menu widget.
상속: Widget
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
IsCursorOver bool
displayIndex int
dragOffset Real
expandedBox BorderPanel
highlightIndex int
isDragging bool
isExpanded bool
isFitToContents bool
itemElements List
items List
itemsShown int
maxItemsShown int
scrollHandle Panel
scrollTrack BorderPanel
sectionIndex int
smallBox BorderPanel
smallTextArea TextArea
textArea TextArea

공개 메소드들

메소드 설명
AddItem ( String item ) : void

ClearItems ( ) : void

OnCursorMoved ( Vector2 cursorPos ) : void

OnCursorPressed ( Vector2 cursorPos ) : void

OnCursorReleased ( Vector2 cursorPos ) : void

OnLostFocus ( ) : void

OnSelectedIndexChanged ( object sender, EventArgs e ) : void

Raises the Selected Index Changed event.

RemoveItem ( String item ) : void

RemoveItem ( int index ) : void

SelectItem ( String item ) : void

SelectItem ( String item, bool notifyListener ) : void

SelectItem ( int index ) : void

SelectItem ( int index, bool notifyListener ) : void

SelectMenu ( String name, String caption, Real width, Real boxWidth, int maxItemsShown ) : System

Do not instantiate any widgets directly. Use SdkTrayManager.

보호된 메소드들

메소드 설명
Retract ( ) : void

Internal method - cleans up an expanded menu.

메소드 상세

AddItem() 공개 메소드

public AddItem ( String item ) : void
item String
리턴 void

ClearItems() 공개 메소드

public ClearItems ( ) : void
리턴 void

OnCursorMoved() 공개 메소드

public OnCursorMoved ( Vector2 cursorPos ) : void
cursorPos Vector2
리턴 void

OnCursorPressed() 공개 메소드

public OnCursorPressed ( Vector2 cursorPos ) : void
cursorPos Vector2
리턴 void

OnCursorReleased() 공개 메소드

public OnCursorReleased ( Vector2 cursorPos ) : void
cursorPos Vector2
리턴 void

OnLostFocus() 공개 메소드

public OnLostFocus ( ) : void
리턴 void

OnSelectedIndexChanged() 공개 메소드

Raises the Selected Index Changed event.
public OnSelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

RemoveItem() 공개 메소드

public RemoveItem ( String item ) : void
item String
리턴 void

RemoveItem() 공개 메소드

public RemoveItem ( int index ) : void
index int
리턴 void

Retract() 보호된 메소드

Internal method - cleans up an expanded menu.
protected Retract ( ) : void
리턴 void

SelectItem() 공개 메소드

public SelectItem ( String item ) : void
item String
리턴 void

SelectItem() 공개 메소드

public SelectItem ( String item, bool notifyListener ) : void
item String
notifyListener bool
리턴 void

SelectItem() 공개 메소드

public SelectItem ( int index ) : void
index int
리턴 void

SelectItem() 공개 메소드

public SelectItem ( int index, bool notifyListener ) : void
index int
notifyListener bool
리턴 void

SelectMenu() 공개 메소드

Do not instantiate any widgets directly. Use SdkTrayManager.
public SelectMenu ( String name, String caption, Real width, Real boxWidth, int maxItemsShown ) : System
name String
caption String
width Real
boxWidth Real
maxItemsShown int
리턴 System

프로퍼티 상세

IsCursorOver 보호되어 있는 프로퍼티

protected bool IsCursorOver
리턴 bool

displayIndex 보호되어 있는 프로퍼티

protected int displayIndex
리턴 int

dragOffset 보호되어 있는 프로퍼티

protected Real dragOffset
리턴 Real

expandedBox 보호되어 있는 프로퍼티

protected BorderPanel expandedBox
리턴 BorderPanel

highlightIndex 보호되어 있는 프로퍼티

protected int highlightIndex
리턴 int

isDragging 보호되어 있는 프로퍼티

protected bool isDragging
리턴 bool

isExpanded 보호되어 있는 프로퍼티

protected bool isExpanded
리턴 bool

isFitToContents 보호되어 있는 프로퍼티

protected bool isFitToContents
리턴 bool

itemElements 보호되어 있는 프로퍼티

protected List itemElements
리턴 List

items 보호되어 있는 프로퍼티

protected List items
리턴 List

itemsShown 보호되어 있는 프로퍼티

protected int itemsShown
리턴 int

maxItemsShown 보호되어 있는 프로퍼티

protected int maxItemsShown
리턴 int

scrollHandle 보호되어 있는 프로퍼티

protected Panel scrollHandle
리턴 Panel

scrollTrack 보호되어 있는 프로퍼티

protected BorderPanel scrollTrack
리턴 BorderPanel

sectionIndex 보호되어 있는 프로퍼티

protected int sectionIndex
리턴 int

smallBox 보호되어 있는 프로퍼티

protected BorderPanel smallBox
리턴 BorderPanel

smallTextArea 보호되어 있는 프로퍼티

protected TextArea smallTextArea
리턴 TextArea

textArea 보호되어 있는 프로퍼티

protected TextArea textArea
리턴 TextArea