-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathPopButtonData.as
More file actions
40 lines (34 loc) · 1.22 KB
/
PopButtonData.as
File metadata and controls
40 lines (34 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package popForm
{
public class PopButtonData
{
public var title:String,
id:*,
selectable:Boolean = true,
singleLine:Boolean=false,
buttonFrame:uint=1;
/**If the button have LightImage in it, this can load the button image on it*/
public var buttonImage:String ;
public var ignoreButtonFrameOnLining:Boolean ;
/**futer value*/
public var buttonDisplayObject:*;
public var dynamicData:Object ;
/**The ignore button type will prevent button frame controll and all buttons will stay on one line if addInSingleLine was true<br>
* You can pass the image url and the button should have a lightImage in it to be able to show button image<br>
* ButtonFram 0 means invisible button*/
public function PopButtonData(Title:String,ButtonFrame:uint=1,Id:* = null,Selectable:Boolean = true,addInSingleLine:Boolean=false,ignoreButtonTypesForLining:Boolean=true,imageURL:String='',DynamicData:Object=null)
{
buttonImage = imageURL;
title = Title ;
if(Id != null)
{
id = Id ;
}
buttonFrame = ButtonFrame ;
selectable = Selectable ;
singleLine = addInSingleLine ;
ignoreButtonFrameOnLining = ignoreButtonTypesForLining ;
dynamicData = DynamicData ;
}
}
}