메소드 | 설명 | |
---|---|---|
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 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 setPanelBackgroundVisible ( bool visible ) : void | ||
visible | bool | |
리턴 | void |