C# Class Axiom.Samples.TextBox

Scrollable text box widget.
Inheritance: Widget
Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Свойство Type Description
captionBar Axiom.Overlays.Elements.BorderPanel
captionTextArea Axiom.Overlays.Elements.TextArea
dragOffset Real
isDragging bool
lines List
padding Real
scrollHandle Axiom.Overlays.Elements.Panel
scrollPercentage Real
scrollTrack Axiom.Overlays.Elements.BorderPanel
startingLine int
text String
textArea Axiom.Overlays.Elements.TextArea

Méthodes publiques

Méthode Description
AppendText ( String text ) : void

ClearText ( ) : void

OnCursorMoved ( Vector2 cursorPos ) : void

OnCursorPressed ( Vector2 cursorPos ) : void

OnCursorReleased ( Vector2 cursorPos ) : void

OnLostFocus ( ) : void

RefitContents ( ) : void

Makes adjustments based on new padding, size, or alignment info.

TextBox ( String name, String caption, Real width, Real height ) : System

Do not instantiate any widgets directly. Use SdkTrayManager.

Méthodes protégées

Méthode Description
FilterLines ( ) : void

Decides which lines to show.

Method Details

AppendText() public méthode

public AppendText ( String text ) : void
text String
Résultat void

ClearText() public méthode

public ClearText ( ) : void
Résultat void

FilterLines() protected méthode

Decides which lines to show.
protected FilterLines ( ) : void
Résultat void

OnCursorMoved() public méthode

public OnCursorMoved ( Vector2 cursorPos ) : void
cursorPos Vector2
Résultat void

OnCursorPressed() public méthode

public OnCursorPressed ( Vector2 cursorPos ) : void
cursorPos Vector2
Résultat void

OnCursorReleased() public méthode

public OnCursorReleased ( Vector2 cursorPos ) : void
cursorPos Vector2
Résultat void

OnLostFocus() public méthode

public OnLostFocus ( ) : void
Résultat void

RefitContents() public méthode

Makes adjustments based on new padding, size, or alignment info.
public RefitContents ( ) : void
Résultat void

TextBox() public méthode

Do not instantiate any widgets directly. Use SdkTrayManager.
public TextBox ( String name, String caption, Real width, Real height ) : System
name String
caption String
width Real
height Real
Résultat System

Property Details

captionBar protected_oe property

protected BorderPanel,Axiom.Overlays.Elements captionBar
Résultat Axiom.Overlays.Elements.BorderPanel

captionTextArea protected_oe property

protected TextArea,Axiom.Overlays.Elements captionTextArea
Résultat Axiom.Overlays.Elements.TextArea

dragOffset protected_oe property

protected Real dragOffset
Résultat Real

isDragging protected_oe property

protected bool isDragging
Résultat bool

lines protected_oe property

protected List lines
Résultat List

padding protected_oe property

protected Real padding
Résultat Real

scrollHandle protected_oe property

protected Panel,Axiom.Overlays.Elements scrollHandle
Résultat Axiom.Overlays.Elements.Panel

scrollPercentage protected_oe property

protected Real scrollPercentage
Résultat Real

scrollTrack protected_oe property

protected BorderPanel,Axiom.Overlays.Elements scrollTrack
Résultat Axiom.Overlays.Elements.BorderPanel

startingLine protected_oe property

protected int startingLine
Résultat int

text protected_oe property

protected String text
Résultat String

textArea protected_oe property

protected TextArea,Axiom.Overlays.Elements textArea
Résultat Axiom.Overlays.Elements.TextArea