Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

365 lines (364 sloc) 14.404 kb
{
"control": {
"tweetPanel": {
"type": "Container",
"qualifiedType": "particle.core.view.controls.Container",
"definedType": "tweet.view.controls.tweetPanel",
"properties": {
"x": 0,
"y": 0,
"width": "100%",
"visible": true,
"alignment": 4,
"height": "100%"
},
"children": [
{
"type": "VerticalContainer",
"name": "_base",
"qualifiedType": "particle.core.view.controls.VerticalContainer",
"properties": {
"visible": true,
"x": 0,
"y": 0,
"width": "100%",
"height": "100%",
"bgColor": "#000080c0",
"alignment": 2
},
"children": [
{
"type": "VerticalContainer",
"name": "_appHeader",
"qualifiedType": "particle.core.view.controls.VerticalContainer",
"properties": {
"visible": true,
"width": "100%",
"height": "20%"
},
"children": [
{
"type": "Container",
"name": "container1",
"qualifiedType": "particle.core.view.controls.Container",
"properties": {
"visible": true,
"width": "100%",
"height": "50%",
"Desktop_640x480": {
"paddingTop": 0
}
},
"children": [
{
"type": "ImageControl",
"name": "_titleBg",
"qualifiedType": "particle.core.view.controls.ImageControl",
"properties": {
"visible": true,
"includeInLayout": true,
"x": 0,
"y": 0,
"bgColor": "#ffffffff",
"width": "100%",
"scaling": true,
"maintainAspectRatio": false,
"height": "100%",
"image": "_blueBg1",
"alignment": 2
}
},
{
"type": "HorizontalContainer",
"name": "_header",
"qualifiedType": "particle.core.view.controls.HorizontalContainer",
"properties": {
"visible": true,
"borderColor": "#ff7994ff",
"width": "100%",
"bgColor": "#00000000",
"alignment": 2,
"paddingTop": 10,
"paddingRight": 0,
"paddingBottom": 10,
"x": 0,
"y": 0,
"paddingLeft": 10,
"Desktop_640x480": {
"paddingTop": 0,
"alignment": 2
},
"height": "100%"
},
"children": [
{
"type": "ImageControl",
"name": "image1",
"qualifiedType": "particle.core.view.controls.ImageControl",
"properties": {
"visible": true,
"image": "_twitterLogo",
"scaling": true,
"width": "35",
"maintainAspectRatio": true,
"height": "35",
"alignment": 8
}
},
{
"type": "LabeledImageControl",
"name": "appTitle",
"qualifiedType": "particle.core.view.controls.LabeledImageControl",
"properties": {
"visible": true,
"text": "KsuTweet",
"autoWrap": true,
"font": "_h1",
"alignment": 8,
"paddingLeft": 20,
"paddingBottom": 5,
"paddingTop": 5,
"Desktop_640x480": {
"paddingTop": 0
}
}
}
]
}
]
},
{
"type": "HorizontalContainer",
"name": "form",
"qualifiedType": "particle.core.view.controls.HorizontalContainer",
"properties": {
"visible": true,
"width": "100%",
"alignment": 2,
"height": "25%"
},
"children": [
{
"type": "EditBox",
"name": "appSearchInput",
"qualifiedType": "particle.core.view.controls.EditBox",
"properties": {
"visible": true,
"width": "100%",
"normalImage": "_input",
"disabledImage": "_input",
"borderWidth": 1,
"font": "Arial_15",
"height": "100%",
"autoScroll": false,
"text": "Particle"
}
},
{
"type": "Button",
"name": "appSearchButton",
"qualifiedType": "particle.core.view.controls.Button",
"properties": {
"visible": true,
"text": "Search",
"clickMode": 1,
"normalImage": "_inputButton",
"pressedImage": "_inputButtonActive",
"focusedImage": "_inputButton",
"disabledImage": "_inputButtonActive",
"borderWidth": 0,
"paddingTop": 2,
"paddingBottom": 2,
"alignment": 8,
"height": "100%",
"width": "40%",
"font": "_h3",
"scaling": true
}
}
]
},
{
"type": "Label",
"name": "results",
"qualifiedType": "particle.core.view.controls.Label",
"properties": {
"visible": true,
"text": "Enter some keywords (ex: keywords , from:user , ...)",
"bgColor": "#ff0080c0",
"width": "100%",
"color": "#ffffffff",
"paddingLeft": 20,
"paddingTop": 5,
"paddingBottom": 5,
"font": "_p1",
"height": "25%",
"alignment": 2,
"autoWrap": true
}
}
]
},
{
"type": "VerticalContainer",
"name": "_applicationLayout",
"qualifiedType": "particle.core.view.controls.VerticalContainer",
"properties": {
"visible": true,
"width": "100%",
"height": "70%"
},
"children": [
{
"type": "VerticalContainer",
"name": "_tweetList",
"qualifiedType": "particle.core.view.controls.VerticalContainer",
"properties": {
"visible": true,
"width": "100%",
"height": "100%",
"vScrollBarEnabled": true,
"styleName": "VerticalContainer",
"gap": -1,
"hScrollBarEnabled": false,
"bgColor": "#ffcbe4fe"
},
"children": [
]
},
{
"type": "UserDetailView",
"name": "_userViewDetail",
"qualifiedType": "tweet.view.controls.UserDetailView",
"properties": {
"visible": true,
"height": "0%"
}
}
]
},
{
"type": "Container",
"name": "_footer_container",
"qualifiedType": "particle.core.view.controls.Container",
"properties": {
"visible": true,
"width": "100%",
"height": "10%"
},
"children": [
{
"type": "ImageControl",
"name": "_footer_Background",
"qualifiedType": "particle.core.view.controls.ImageControl",
"properties": {
"visible": true,
"width": "100%",
"height": "100%",
"image": "_blueBg1",
"scaling": true,
"maintainAspectRatio": false
}
},
{
"type": "HorizontalContainer",
"name": "hlayout1",
"qualifiedType": "particle.core.view.controls.HorizontalContainer",
"properties": {
"visible": true,
"height": "100%",
"width": "100%",
"x": 0,
"y": 0
},
"children": [
{
"type": "LabeledImageControl",
"name": "_credits",
"qualifiedType": "particle.core.view.controls.LabeledImageControl",
"properties": {
"visible": true,
"text": "Design by M.Paraiso for Ksu",
"image": "",
"scaling": true,
"maintainAspectRatio": false,
"height": "100%",
"alignment": 2,
"font": "_h4",
"width": "70%"
}
},
{
"type": "HorizontalContainer",
"name": "hlayout2",
"qualifiedType": "particle.core.view.controls.HorizontalContainer",
"properties": {
"visible": true,
"width": "30%",
"height": "100%",
"alignment": 8
},
"children": [
{
"type": "ToggleButton",
"name": "_logButton",
"qualifiedType": "particle.core.view.controls.ToggleButton",
"properties": {
"visible": true,
"text": "About",
"styleName": "_toggleButton",
"enabled": true,
"onNormalImage": "_inputButtonActive",
"onFocusedImage": "_inputButtonActive",
"onPressedImage": "_inputButtonActive",
"onDisabledImage": "_inputButtonActive",
"alignment": 8,
"autoWrap": true,
"width": "80%",
"height": "80%"
}
}
]
}
]
}
]
}
]
},
{
"type": "Container",
"name": "_loggWindow",
"qualifiedType": "particle.core.view.controls.Container",
"properties": {
"visible": true,
"x": 15,
"y": 154,
"width": "450",
"height": "463"
},
"children": [
{
"type": "HTMLControl",
"name": "_logger",
"qualifiedType": "particle.core.view.controls.HTMLControl",
"properties": {
"HTML": "<b><font color=\"lightblue\">KSU TWEET<\/font<\/b><br><br>This is a particle sdk application by M.PARAISO<br>It is a simple twitter client allowing users to make searchs with keywords and browser user profiles with using the twitter website.<br>When a link is in the tweet you can navigate to the given URL<br><br>It was written in action script and Java , and can be compiled to Flash , Ios , Android , Java and HTML5 ( works in Opera and Firefox so far)<br><font color=\"red\">Twitter limits the number of requests to its REST user api up until 150 requests an hour by server<\/font> so when you reach the limit the app doesnt display user profiles anymore , but you can still search for tweets of a given user.<br>for more infos : aikah@free.fr<br><br>License : <a href=\\\"http:\/\/en.wikipedia.org\/wiki\/MIT_License\\\"> MIT license.<\/a>",
"width": "100%",
"height": "100%",
"bgColor": "#ff598ba6",
"paddingTop": 20,
"paddingLeft": 20,
"autoScroll": true,
"visible": true,
"defaultTextColor": "#ffffffff",
"defaultFont": "_Arial_11"
}
}
]
}
]
}
},
"version": "1"
}
Jump to Line
Something went wrong with that request. Please try again.