C# Class UIParser.Nodes.AddButtonNode

Inheritance: UINode
Mostrar archivo Open project: Afr0Games/Project-Dollhouse Class Usage Examples

Public Properties

Property Type Description
ButtonPosition ArrayListNode
ButtonSize ArrayListNode
Font int?
ID int
Image string
ImageStates int?
Name string
Text string
TextButton int?
TextColor ArrayListNode
TextColorDisabled ArrayListNode
TextColorHighlighted ArrayListNode
TextColorSelected ArrayListNode
TextHighlighted int?
Tooltip string
Tracking int?
Trigger int?

Public Methods

Method Description
Accept ( IUIVisitor visitor ) : void

Protected Methods

Method Description
InitChildren ( ParseTreeNodeList nodes ) : void

Method Details

Accept() public method

public Accept ( IUIVisitor visitor ) : void
visitor IUIVisitor
return void

InitChildren() protected method

protected InitChildren ( ParseTreeNodeList nodes ) : void
nodes ParseTreeNodeList
return void

Property Details

ButtonPosition public_oe property

Position of this button. Required.
public ArrayListNode,UIParser.Nodes ButtonPosition
return ArrayListNode

ButtonSize public_oe property

Defines the dimensions of this button control. Syntax: (width,height)
public ArrayListNode,UIParser.Nodes ButtonSize
return ArrayListNode

Font public_oe property

Defines the font size of this text control in points.
public int? Font
return int?

ID public_oe property

public int ID
return int

Image public_oe property

Defines a UIS image resource to associate with this button control
public string Image
return string

ImageStates public_oe property

Defines the number of image states associated with this button control.
public int? ImageStates
return int?

Name public_oe property

public string Name
return string

Text public_oe property

Defines a UIS string resource to use as text.
public string Text
return string

TextButton public_oe property

Defines whether or not this button renders as a "textButton", meaning horizontally segmented into 3 and scaled to fit the explicitly defined size or width of the inner text. If this is set, buttons with no image will automatically assume the default button image, otherwise they will have no button image. 1 for true, 0 for false. Defaults to 1 if text is defined.
public int? TextButton
return int?

TextColor public_oe property

Defines the regular text color of this button control.
public ArrayListNode,UIParser.Nodes TextColor
return ArrayListNode

TextColorDisabled public_oe property

Defines the disabled text color of this button control.
public ArrayListNode,UIParser.Nodes TextColorDisabled
return ArrayListNode

TextColorHighlighted public_oe property

Defines the highlighted text color of this button control.
public ArrayListNode,UIParser.Nodes TextColorHighlighted
return ArrayListNode

TextColorSelected public_oe property

Defines the selected text color of this button control.
public ArrayListNode,UIParser.Nodes TextColorSelected
return ArrayListNode

TextHighlighted public_oe property

Defines whether or not this button control uses highlighted text. 1=Yes, 0=No. Default is no.
public int? TextHighlighted
return int?

Tooltip public_oe property

public string Tooltip
return string

Tracking public_oe property

Defines the type of tracking this button will employ. Valid options are 0, 1, or 2. Default is 0.
public int? Tracking
return int?

Trigger public_oe property

Defines whether or not this button will trigger. 1=Yes, 0=No. Default is no trigger.
public int? Trigger
return int?