Метод | Описание | |
---|---|---|
Panel ( ) : System | ||
Panel ( int x, int y, int width, int height ) : System | ||
draw ( |
||
getXMargin ( ) : int | ||
getYMargin ( ) : int | ||
isHighlighted ( ) : bool | ||
isPanelBackgroundVisible ( ) : bool | ||
loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
onConfirm ( ) : void |
Invoked when the user types the "Action" or "Confirm" key
|
|
onEnter ( ) : void |
Invoked when this panel has entered the user's view
|
|
onExit ( ) : void |
Invoked when this panel is exiting the user's view
|
|
onFocus ( ) : void |
Invoked when this panel now has focus (i.e. user is navigating this panel)
|
|
onKeyInput ( Keys key ) : bool |
Invoked when the user types any key
|
|
onMoveCursor ( Direction dir ) : void |
Invoked when the user types a directional key
|
|
onRefocus ( ) : void |
Invoked when a newer panel has been unfocused, bringing the focus back to this panel
|
|
onUnfocus ( ) : void |
Invoked when another panel now has the focus (but this panel may still be in view)
|
|
setHighlighted ( bool highlighted ) : void | ||
setPanelBackgroundVisible ( bool visible ) : void | ||
setXMargin ( int margin ) : void | ||
setYMargin ( int margin ) : void |
public Panel ( int x, int y, int width, int height ) : System | ||
x | int | |
y | int | |
width | int | |
height | int | |
Результат | System |
public draw ( |
||
sb | ||
Результат | void |
public isPanelBackgroundVisible ( ) : bool | ||
Результат | bool |
public loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
Результат | void |
public onMoveCursor ( Direction dir ) : void | ||
dir | Direction | The direction |
Результат | void |
public setHighlighted ( bool highlighted ) : void | ||
highlighted | bool | |
Результат | void |
public setPanelBackgroundVisible ( bool visible ) : void | ||
visible | bool | |
Результат | void |