Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Nov 4, 2021
1 parent 5d476f4 commit 71dbd70
Show file tree
Hide file tree
Showing 209 changed files with 1,150 additions and 1,155 deletions.
16 changes: 8 additions & 8 deletions source/feathers/controls/Alert.as
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ package feathers.controls
*
* <listing version="3.0">
* alert.icon = new Image( texture );</listing>
*
*
* @default null
*/
[Style(name="icon",type="starling.display.DisplayObject")]
Expand Down Expand Up @@ -210,7 +210,7 @@ package feathers.controls
* }</listing>
*
* @see ../../../help/alert.html How to use the Feathers Alert component
*
*
* @productversion Feathers 1.2.0
*/
public class Alert extends Panel
Expand Down Expand Up @@ -265,7 +265,7 @@ package feathers.controls
* Creates overlays for modal alerts. When this property is
* <code>null</code>, uses the <code>overlayFactory</code> defined by
* <code>PopUpManager</code> instead.
*
*
* <p>Note: Specific, individual alerts may have custom overlays that
* are different than the default by passing a different overlay factory
* to <code>Alert.show()</code>.</p>
Expand All @@ -283,7 +283,7 @@ package feathers.controls
* quad.alpha = 0.75;
* return quad;
* };</listing>
*
*
* @default null
*
* @see feathers.core.PopUpManager#overlayFactory
Expand All @@ -296,7 +296,7 @@ package feathers.controls
* components.
*
* @default null
*
*
* @see feathers.core.FeathersControl#styleProvider
*/
public static var globalStyleProvider:IStyleProvider;
Expand Down Expand Up @@ -325,7 +325,7 @@ package feathers.controls
*
* <listing version="3.0">
* button.addEventListener( Event.TRIGGERED, button_triggeredHandler );
*
*
* function button_triggeredHandler( event:Event ):void
* {
* var alert:Alert = Alert.show( "This is an alert!", "Hello World", new ArrayCollection(
Expand Down Expand Up @@ -559,7 +559,7 @@ package feathers.controls
/**
* The index of the button in the <code>buttonsDataProvider</code> to
* trigger when <code>Keyboard.ENTER</code> is pressed.
*
*
* <p>In the following example, the <code>acceptButtonIndex</code> is
* set to the first button in the data provider.</p>
*
Expand Down Expand Up @@ -605,7 +605,7 @@ package feathers.controls
* { label: "Cancel" },
* ]));
* alert.cancelButtonIndex = 1;</listing>
*
*
* @default -1
*/
public function get cancelButtonIndex():int
Expand Down
2 changes: 1 addition & 1 deletion source/feathers/controls/AutoComplete.as
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ package feathers.controls
* "Orange",
* "Watermelon"
* ]));</listing>
*
*
* @default null
*/
public function get source():IAutoCompleteSource
Expand Down
6 changes: 3 additions & 3 deletions source/feathers/controls/BasicButton.as
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ package feathers.controls
*
* <listing version="3.0">
* button.keepDownStateOnRollOut = true;</listing>
*
*
* @default false
*/
[Style(name="keepDownStateOnRollOut",type="Boolean")]
Expand Down Expand Up @@ -212,12 +212,12 @@ package feathers.controls
* @see #currentState
*/
[Event(name="stateChange",type="starling.events.Event")]

/**
* A simple button control with states, but no content, that is useful for
* purposes like skinning. For a more full-featured button, with a label and
* icon, see <code>feathers.controls.Button</code> instead.
*
*
* @see feathers.controls.Button
*
* @productversion Feathers 3.0.0
Expand Down
18 changes: 9 additions & 9 deletions source/feathers/controls/Button.as
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ package feathers.controls
*
* <listing version="3.0">
* button.horizontalAlign = HorizontalAlign.LEFT;</listing>
*
*
* <p><strong>Note:</strong> The <code>HorizontalAlign.JUSTIFY</code>
* constant is not supported.</p>
*
Expand Down Expand Up @@ -458,7 +458,7 @@ package feathers.controls
* button.paddingBottom = 20;</listing>
*
* @default 0
*
*
* @see #style:padding
*/
[Style(name="paddingBottom",type="Number")]
Expand Down Expand Up @@ -544,7 +544,7 @@ package feathers.controls
*
* <listing version="3.0">
* button.verticalAlign = VerticalAlign.TOP;</listing>
*
*
* <p><strong>Note:</strong> The <code>VerticalAlign.JUSTIFY</code>
* constant is not supported.</p>
*
Expand Down Expand Up @@ -630,7 +630,7 @@ package feathers.controls
/**
* The default value added to the <code>styleNameList</code> of the
* label text renderer.
*
*
* <p>Note: the label text renderer is not a
* <code>feathers.controls.Label</code>. It is an instance of one of the
* <code>ITextRenderer</code> implementations.</p>
Expand Down Expand Up @@ -1914,7 +1914,7 @@ package feathers.controls
*
* <p>If font styles are not defined for a specific state, returns
* <code>null</code>.</p>
*
*
* @see http://doc.starling-framework.org/current/starling/text/TextFormat.html starling.text.TextFormat
* @see #setFontStylesForState()
* @see #style:fontStyles
Expand All @@ -1935,7 +1935,7 @@ package feathers.controls
*
* <p>If font styles are not defined for a specific state, the value of
* the <code>fontStyles</code> property will be used instead.</p>
*
*
* <p>Note: if the text renderer has been customized with advanced font
* formatting, it may override the values specified with
* <code>setFontStylesForState()</code> and properties like
Expand Down Expand Up @@ -2486,7 +2486,7 @@ package feathers.controls
this.labelTextRenderer.visible = this._label !== null && this._label.length > 0;
this.labelTextRenderer.isEnabled = this._isEnabled;
}

/**
* Sets the <code>currentIcon</code> property.
*
Expand Down Expand Up @@ -2615,7 +2615,7 @@ package feathers.controls
this.longPress.isEnabled = this._isEnabled && this._isLongPressEnabled;
this.longPress.longPressDuration = this._longPressDuration;
}

/**
* Positions and sizes the button's content.
*
Expand Down Expand Up @@ -2779,7 +2779,7 @@ package feathers.controls
displayObject.y = this._paddingTop + Math.round((this.actualHeight - this._paddingTop - this._paddingBottom - displayObject.height) / 2);
}
}

/**
* @private
*/
Expand Down
54 changes: 27 additions & 27 deletions source/feathers/controls/ButtonGroup.as
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ package feathers.controls
*
* <listing version="3.0">
* group.direction = Direction.HORIZONTAL;</listing>
*
*
* <p><strong>Note:</strong> The <code>Direction.NONE</code>
* constant is not supported.</p>
*
Expand Down Expand Up @@ -166,7 +166,7 @@ package feathers.controls
* group.gap = 20;</listing>
*
* @default 0
*
*
* @see #style:firstGap
* @see #style:lastGap
*/
Expand Down Expand Up @@ -240,7 +240,7 @@ package feathers.controls
* group.paddingTop = 20;</listing>
*
* @default 0
*
*
* @see #style:padding
*/
[Style(name="paddingTop",type="Number")]
Expand Down Expand Up @@ -349,7 +349,7 @@ package feathers.controls
*
* @eventType starling.events.Event.TRIGGERED
*/
[Event(name="triggered", type="starling.events.Event")]
[Event(name="triggered",type="starling.events.Event")]

/**
* A set of related buttons with layout, customized using a data provider.
Expand Down Expand Up @@ -401,32 +401,32 @@ package feathers.controls
* @private
*/
private static const DEFAULT_BUTTON_FIELDS:Vector.<String> = new <String>
[
"defaultIcon",
"upIcon",
"downIcon",
"hoverIcon",
"disabledIcon",
"defaultSelectedIcon",
"selectedUpIcon",
"selectedDownIcon",
"selectedHoverIcon",
"selectedDisabledIcon",
"isSelected",
"isToggle",
"isLongPressEnabled",
"name",
];
[
"defaultIcon",
"upIcon",
"downIcon",
"hoverIcon",
"disabledIcon",
"defaultSelectedIcon",
"selectedUpIcon",
"selectedDownIcon",
"selectedHoverIcon",
"selectedDisabledIcon",
"isSelected",
"isToggle",
"isLongPressEnabled",
"name",
];

/**
* @private
*/
private static const DEFAULT_BUTTON_EVENTS:Vector.<String> = new <String>
[
Event.TRIGGERED,
Event.CHANGE,
FeathersEventType.LONG_PRESS,
];
[
Event.TRIGGERED,
Event.CHANGE,
FeathersEventType.LONG_PRESS,
];

/**
* The default value added to the <code>styleNameList</code> of the buttons.
Expand Down Expand Up @@ -581,7 +581,7 @@ package feathers.controls
* <li>Event.TRIGGERED</li>
* <li>Event.CHANGE (only supported by <code>ToggleButton</code>)</li>
* </ul>
*
*
* <p>Event listeners may have one of the following signatures:</p>
* <pre>function(event:Event):void</pre>
* <pre>function(event:Event, eventData:Object):void</pre>
Expand Down Expand Up @@ -1354,7 +1354,7 @@ package feathers.controls
* buttons, and the properties will be passed down to every button when
* the button group validates. For a list of available properties,
* refer to <a href="Button.html"><code>feathers.controls.Button</code></a>.
*
*
* <p>These properties are shared by every button, so anything that cannot
* be shared (such as display objects, which cannot be added to multiple
* parents) should be passed to buttons using the
Expand Down
2 changes: 1 addition & 1 deletion source/feathers/controls/ButtonState.as
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ package feathers.controls
/**
* The disabled state, when the component's <code>isEnabled</code>
* property is <code>false</code>.
*
*
* @see feathers.core.FeathersControl#isEnabled
*
* @productversion Feathers 3.0.0
Expand Down
Loading

0 comments on commit 71dbd70

Please sign in to comment.