[twitterfx~subversion:35] Updated copyright notices to be BSD license.
- From: sherod@kenai.com
- To: commits@twitterfx.kenai.com
- Subject: [twitterfx~subversion:35] Updated copyright notices to be BSD license.
- Date: Fri, 7 Aug 2009 00:17:45 +0000
Project: twitterfx
Repository: subversion
Revision: 35
Author: sherod
Date: 2009-08-06 05:18:37 UTC
Link:
Log Message:
------------
Updated copyright notices to be BSD license.
Revisions:
----------
35
Modified Paths:
---------------
twitterfx/src/twitterfx/components/CenteredText.fx
twitterfx/src/twitterfx/components/CenteredRectangle.fx
twitterfx/src/twitterfx/twitter/TwitterAPI.fx
twitterfx/src/twitterfx/JKeyboardHandler.fx
twitterfx/nbproject/genfiles.properties
twitterfx/src/twitterfx/components/CycleText.fx
twitterfx/src/twitterfx/components/LanguageBox.fx
twitterfx/src/twitterfx/twitter/Result.fx
twitterfx/src/twitterfx/components/PopupMenu.fx
twitterfx/src/twitterfx/twitter/User.fx
twitterfx/src/twitterfx/twitter/StatusListParser.fx
twitterfx/src/twitterfx/twitter/Direct.fx
twitterfx/src/twitterfx/components/StatusNode.fx
twitterfx/src/twitterfx/components/RightCornerImageView.fx
twitterfx/src/twitterfx/Main_es.fxproperties
twitterfx/src/twitterfx/components/ToolBox.fx
twitterfx/src/twitterfx/components/URLTextField.fx
twitterfx/src/twitterfx/twitter/APIStatus.fx
twitterfx/build.xml
twitterfx/nbproject/project.xml
twitterfx/src/twitterfx/components/ThemeBox.fx
twitterfx/nbproject/project.properties
twitterfx/src/twitterfx/components/TextArea.fx
twitterfx/src/twitterfx/components/MemberManagerDialog.fx
twitterfx/src/twitterfx/components/PagingButton.fx
twitterfx/src/twitterfx/twitter/StatusParser.fx
twitterfx/src/twitterfx/components/DragBehavior.fx
twitterfx/src/twitterfx/panels/GroupFriendNode.fx
twitterfx/src/twitterfx/components/FriendNode.fx
twitterfx/src/twitterfx/twitter/Base64.java
twitterfx/build-before-profiler.xml
twitterfx/src/twitterfx/components/TwitterBox.fx
twitterfx/src/twitterfx/components/FilterTextBox.fx
twitterfx/src/twitterfx/panels/PopupPanel.fx
Added Paths:
------------
twitterfx/src/twitterfx/lf/TwitterFXUI.fx
twitterfx/src/twitterfx/lf
twitterfx/testkeystore
twitterfx/src/twitterfx/lf/common
Diffs:
------
Index: twitterfx/nbproject/project.properties
===================================================================
--- twitterfx/nbproject/project.properties (revision 34)
+++ twitterfx/nbproject/project.properties (revision 35)
@@ -21,7 +21,7 @@
dist.jar=${dist.dir}/twitterfx.jar
dist.javadoc.dir=${dist.dir}/javadoc
excludes=
-execution.target=jnlp
+execution.target=standard
file.reference.apache-mime4j-0.5.jar=apache-mime4j-0.5.jar
file.reference.commons-codec-1.3.jar=commons-codec-1.3.jar
file.reference.commons-logging-1.1.1.jar=commons-logging-1.1.1.jar
@@ -65,13 +65,13 @@
javafxc.source=1.6
javafxc.target=1.6
jnlp.codebase.type=local
-jnlp.codebase.url=file:/Users/steven/NetBeansProjects/twitterfx/dist/
+jnlp.codebase.url=file:/Users/steven/sun/twitterfx/twitterfx/dist/
jnlp.offline-allowed=true
-jnlp.packEnabled=false
+jnlp.packEnabled=true
jnlp.signed=true
main.class=twitterfx.Main
pack200.jar.compress=true
-platform.active=default_fx_platform
+platform.active=JavaFX_SDK_1.1
run.classpath=\
${javac.classpath}:\
${build.classes.dir}
Index: twitterfx/nbproject/project.xml
===================================================================
--- twitterfx/nbproject/project.xml (revision 34)
+++ twitterfx/nbproject/project.xml (revision 35)
@@ -5,6 +5,7 @@
<data xmlns="http://www.netbeans.org/ns/javafx-project/3">
<name>twitterfx</name>
<minimum-ant-version>1.6.5</minimum-ant-version>
+ <explicit-platform explicit-javac-supported="true"
explicit-source-supported="true"/>
<source-roots>
<root id="src.dir"/>
</source-roots>
Index: twitterfx/nbproject/genfiles.properties
===================================================================
--- twitterfx/nbproject/genfiles.properties (revision 34)
+++ twitterfx/nbproject/genfiles.properties (revision 35)
@@ -3,7 +3,7 @@
build.xml.stylesheet.CRC32=bdec6f99
# This file is used by a NetBeans-based IDE to track changes in generated
files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never
regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=6c170c80
+nbproject/build-impl.xml.data.CRC32=6c962873
nbproject/build-impl.xml.script.CRC32=a432cd78
nbproject/build-impl.xml.stylesheet.CRC32=7a4c0151
nbproject/profiler-build-impl.xml.data.CRC32=b5356db3
Index: twitterfx/src/twitterfx/panels/PopupPanel.fx
===================================================================
--- twitterfx/src/twitterfx/panels/PopupPanel.fx (revision 34)
+++ twitterfx/src/twitterfx/panels/PopupPanel.fx (revision 35)
@@ -1,20 +1,32 @@
/*
- TwitterFX http://herod.net/twitterfx/
- Copyright (C) 2009 Steven Herod (steven.herod@gmail.com)
+Copyright (c) 2009, Steven Herod
+All rights reserved.
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+
/*
* TwifxerPanel.fx
*
@@ -61,7 +73,7 @@
{
timeline.rate = -1.0;
timeline.play();
- println("showing panel");
+ //println("showing panel");
}
@@ -73,7 +85,7 @@
{
timeline.rate = 1.0;
timeline.play();
- println("hide panel");
+ //println("hide panel");
}
@@ -109,4 +121,4 @@
-}
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/panels/GroupFriendNode.fx
===================================================================
--- twitterfx/src/twitterfx/panels/GroupFriendNode.fx (revision 34)
+++ twitterfx/src/twitterfx/panels/GroupFriendNode.fx (revision 35)
@@ -1,22 +1,33 @@
+/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
-/*
- TwitterFX http://herod.net/twitterfx/
- Copyright (C) 2009 Steven Herod (steven.herod@gmail.com)
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+*/
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>
-*/
+
/*
* StatusNode.fx
*
@@ -113,7 +124,7 @@
}
else
{
- println("Size before users: {users.size()}");
+ //println("Size before users: {users.size()}");
for (localUser in users){
if (localUser.id == user.id)
{ delete users[indexof localUser];}
@@ -122,7 +133,7 @@
inserted = false;
}
- println("Size after users: {users.size()}");
+ //println("Size after users: {users.size()}");
}
onMouseEntered: function( e: MouseEvent ):Void {
Main.label = "{user.name}";
@@ -138,8 +149,4 @@
}
-}
-
-
-
-
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/JKeyboardHandler.fx
===================================================================
--- twitterfx/src/twitterfx/JKeyboardHandler.fx (revision 34)
+++ twitterfx/src/twitterfx/JKeyboardHandler.fx (revision 35)
@@ -1,5 +1,33 @@
package twitterfx;
+/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+
public class JKeyboardHandler extends KeyboardHandler {
override function toggleTweetBox(){
@@ -21,4 +49,4 @@
-}
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/ThemeBox.fx
===================================================================
--- twitterfx/src/twitterfx/components/ThemeBox.fx (revision 34)
+++ twitterfx/src/twitterfx/components/ThemeBox.fx (revision 35)
@@ -1,5 +1,33 @@
package twitterfx.components;
+/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+
import javafx.ext.swing.SwingRadioButton;
import javafx.ext.swing.SwingToggleGroup;
import javafx.scene.input.MouseEvent;
@@ -19,7 +47,7 @@
{
Main.twitterConfig.theme = themeChangeListener;
Main.twitterConfig.save();
- println("Theme set to {Main.twitterConfig.theme}");
+ //println("Theme set to {Main.twitterConfig.theme}");
}
}
@@ -48,4 +76,4 @@
};
-}
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/FriendNode.fx
===================================================================
--- twitterfx/src/twitterfx/components/FriendNode.fx (revision 34)
+++ twitterfx/src/twitterfx/components/FriendNode.fx (revision 35)
@@ -1,20 +1,31 @@
-/*
- TwitterFX http://herod.net/twitterfx/
- Copyright (C) 2009 Steven Herod (steven.herod@gmail.com)
+/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
/*
* StatusNode.fx
*
@@ -115,7 +126,4 @@
}
-}
-
-
-
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/MemberManagerDialog.fx
===================================================================
--- twitterfx/src/twitterfx/components/MemberManagerDialog.fx (revision 34)
+++ twitterfx/src/twitterfx/components/MemberManagerDialog.fx (revision 35)
@@ -1,5 +1,34 @@
package twitterfx.components;
+/*Copyright (c) 2009, Steven Herod
+All rights reserved.
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+*/
+
+import javafx.fxd.Duplicator;
+
import javafx.scene.CustomNode;
import javafx.scene.Group;
import javafx.scene.layout.HBox;
@@ -18,6 +47,7 @@
import twitterfx.panels.VerticalScroll;
import twitterfx.twitter.TweetGroup;
import twitterfx.twitter.User;
+import twitterfx.lf.TwitterFXUI;
public class MemberManagerDialog extends CustomNode {
@@ -78,11 +108,13 @@
// disabled: bind if (order == DESCENDING) true else false
// text: "newest first"
// size: 10
- icon: "grey/Cancel"
+ //icon: "grey/Cancel"
label: "Close panel"
action: function() {
visible = false
}
+ iconNode:
Duplicator.duplicate(TwitterFXUI.getCommonCloseControlIconUI().close_control_icon)
+
translateY: bind translateY + 5
translateX: bind (width) - (close.boundsInLocal.width + 5)
}
@@ -90,11 +122,14 @@
var saveButton: TinyButton = TinyButton {
label: bind "Save the group";
- icon: "grey/Save"
+ //icon: "grey/Save"
action: function() {
Main.twitterDB.addUsersToGroup(tweetGroup.id,usersInGroup);
close.action();
}
+ //this should be a disk save icon, but UE did not create this yet
+ iconNode:
Duplicator.duplicate(TwitterFXUI.getCommonViewUnreadTweetsIconUI().view_unread_tweets_icon)
+
};
@@ -160,4 +195,4 @@
content: [rectangle,labelText,hbox,scrollPanelWithBar,close]
};
}
-}
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/LanguageBox.fx
===================================================================
--- twitterfx/src/twitterfx/components/LanguageBox.fx (revision 34)
+++ twitterfx/src/twitterfx/components/LanguageBox.fx (revision 35)
@@ -1,5 +1,33 @@
package twitterfx.components;
+/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+
import javafx.ext.swing.SwingRadioButton;
import javafx.ext.swing.SwingToggleGroup;
import javafx.scene.input.MouseEvent;
@@ -17,7 +45,7 @@
{
Main.twitterConfig.locale = languageChangeListener;
Main.twitterConfig.save();
- println("Locale set to {Main.twitterConfig.locale}");
+ //println("Locale set to {Main.twitterConfig.locale}");
}
@@ -48,5 +76,4 @@
} ] }
}
-
-
+
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/CenteredText.fx
===================================================================
--- twitterfx/src/twitterfx/components/CenteredText.fx (revision 34)
+++ twitterfx/src/twitterfx/components/CenteredText.fx (revision 35)
@@ -1,4 +1,31 @@
/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
* CenteredText.fx
*
* Created on Jan 12, 2009, 8:09:04 PM
Index: twitterfx/src/twitterfx/components/PagingButton.fx
===================================================================
--- twitterfx/src/twitterfx/components/PagingButton.fx (revision 34)
+++ twitterfx/src/twitterfx/components/PagingButton.fx (revision 35)
@@ -1,4 +1,31 @@
/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
* PagingButton.fx
*
* Created on Jan 24, 2009, 9:46:49 PM
@@ -17,4 +44,4 @@
-}
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/FilterTextBox.fx
===================================================================
--- twitterfx/src/twitterfx/components/FilterTextBox.fx (revision 34)
+++ twitterfx/src/twitterfx/components/FilterTextBox.fx (revision 35)
@@ -1,4 +1,31 @@
/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
* FilterTextBox.fx
*
* Created on Apr 23, 2009, 4:55:59 PM
@@ -15,16 +42,23 @@
import javafx.scene.shape.Rectangle;
import twitterfx.components.TinyButton;
import twitterfx.components.FilterTextFieldComponent;
+import twitterfx.lf.TwitterFXUI;
+import twitterfx.components.DirectNode;
+import twitterfx.components.FilterTextBox;
+import javafx.fxd.Duplicator;
+
/**
* @author steven
*/
public class FilterTextBox extends CustomNode {
- var tweetBox: FilterTextFieldComponent = FilterTextFieldComponent
{translateX: 4 translateY: 3 fontSize: 12 }
+ public var anyKeyTyped: Boolean;
+ var tweetBox: FilterTextFieldComponent = FilterTextFieldComponent
{anyKeyTyped: anyKeyTyped translateX: 4 translateY: 3 fontSize: 12 }
public var searchAction: function():Void;
+
public var text:String = bind tweetBox.filterText with inverse on
replace {
FX.deferAction(searchAction);
}
@@ -56,8 +90,8 @@
}, tweetBox,
TinyButton {
- translateY: 4
- translateX: tweetBox.layoutBounds.width
+ translateY: 1
+ translateX: tweetBox.layoutBounds.width -3
blocksMouse:false
height: 12
width: 12
@@ -68,6 +102,8 @@
text = "";
}
+ iconNode:
Duplicator.duplicate(TwitterFXUI.getCommonCloseControlIconUI().close_control_icon)
+
}
@@ -81,4 +117,4 @@
}
-}
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/CycleText.fx
===================================================================
--- twitterfx/src/twitterfx/components/CycleText.fx (revision 34)
+++ twitterfx/src/twitterfx/components/CycleText.fx (revision 35)
@@ -1,4 +1,31 @@
/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
* HoverText.fx
*
* Created on Apr 9, 2009, 7:45:07 AM
@@ -68,4 +95,4 @@
};
}
-}
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/TwitterBox.fx
===================================================================
--- twitterfx/src/twitterfx/components/TwitterBox.fx (revision 34)
+++ twitterfx/src/twitterfx/components/TwitterBox.fx (revision 35)
@@ -1,25 +1,56 @@
package twitterfx.components;
+/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+
import javafx.ext.swing.SwingButton;
import javafx.ext.swing.SwingSlider;
import javafx.ext.swing.SwingToggleGroup;
+import javafx.fxd.Duplicator;
import javafx.scene.layout.VBox;
import javafx.scene.paint.Color;
import javafx.scene.text.Font;
import javafx.scene.text.Text;
import twitterfx.components.LanguageBox;
+import twitterfx.lf.TwitterFXUI;
import twitterfx.Main;
-
public class TwitterBox extends LanguageBox {
var frequency:SwingSlider = SwingSlider {
minimum: (1000 * 60 * 3)
maximum: (1000 * 60 * 60)
+ //iconNode:Duplicator.duplicate(TwitterFXUI.getTwitterFXUI().slider);
value: bind Main.twitterConfig.refreshFrequency with inverse
vertical: false
+
}
var frequencyText:Text = Text {
@@ -37,17 +68,15 @@
-var logout:SwingButton = SwingButton {
- text: "Logout"
- font: Font { size: 12 }
+var logout:TinyButton = TinyButton {
action: function(){
Main.twitterConfig.username = "";
Main.twitterConfig.password = "";
}
+
iconNode:Duplicator.duplicate(TwitterFXUI.getTwitterFXUI().logout_button);
}
-
var toggleGroup: SwingToggleGroup = SwingToggleGroup {}
init {
@@ -58,4 +87,4 @@
};
-}
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/URLTextField.fx
===================================================================
--- twitterfx/src/twitterfx/components/URLTextField.fx (revision 34)
+++ twitterfx/src/twitterfx/components/URLTextField.fx (revision 35)
@@ -1,20 +1,31 @@
-/*
- TwitterFX http://herod.net/twitterfx/
- Copyright (C) 2009 Steven Herod (steven.herod@gmail.com)
+/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
/*
* MyTextArea.fx
*
@@ -100,4 +111,4 @@
-}
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/TextArea.fx
===================================================================
--- twitterfx/src/twitterfx/components/TextArea.fx (revision 34)
+++ twitterfx/src/twitterfx/components/TextArea.fx (revision 35)
@@ -1,20 +1,31 @@
/*
- TwitterFX http://herod.net/twitterfx/
- Copyright (C) 2009 Steven Herod (steven.herod@gmail.com)
+Copyright (c) 2009, Steven Herod
+All rights reserved.
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
/*
* MyTextArea.fx
*
@@ -103,4 +114,4 @@
-}
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/CenteredRectangle.fx
===================================================================
--- twitterfx/src/twitterfx/components/CenteredRectangle.fx (revision 34)
+++ twitterfx/src/twitterfx/components/CenteredRectangle.fx (revision 35)
@@ -1,4 +1,31 @@
/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
* CenteredRectangle.fx
*
* Created on Jan 12, 2009, 8:42:38 PM
@@ -14,4 +41,4 @@
public class CenteredRectangle extends Rectangle {
override var translateX = bind (Main.panelWidth - boundsInLocal.width) / 2
;
-}
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/RightCornerImageView.fx
===================================================================
--- twitterfx/src/twitterfx/components/RightCornerImageView.fx (revision 34)
+++ twitterfx/src/twitterfx/components/RightCornerImageView.fx (revision 35)
@@ -1,4 +1,31 @@
/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
* RightCornerImageView.fx
*
* Created on Jan 12, 2009, 8:48:49 PM
@@ -15,4 +42,4 @@
override var translateX = bind (parent.layoutBounds.width -
layoutBounds.width);
override var translateY = bind (parent.layoutBounds.height -
layoutBounds.height) ;
-}
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/ToolBox.fx
===================================================================
--- twitterfx/src/twitterfx/components/ToolBox.fx (revision 34)
+++ twitterfx/src/twitterfx/components/ToolBox.fx (revision 35)
@@ -1,4 +1,31 @@
/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
* ToolBox.fx
*
* Created on Jan 2, 2009, 7:57:20 PM
@@ -6,6 +33,7 @@
package twitterfx.components;
+import javafx.fxd.Duplicator;
import javafx.scene.CustomNode;
import javafx.scene.Group;
import javafx.scene.Node;
@@ -17,9 +45,11 @@
import twitterfx.twitter.Status;
import twitterfx.twitter.TwitterAPI;
import twitterfx.util.ClipboardServices;
+import twitterfx.lf.TwitterFXUI;
+
public class ToolBox extends CustomNode {
public var status:Status;
public var statusPanel:StatusPanel;
@@ -31,7 +61,7 @@
*/
var tool:TinyButton = TinyButton {
icon: "grey/Tool2"
- label: "Futher actions (retweet / favorite etc)"
+ label: "Further actions (retweet / favorite etc)"
action: function() {
//parent.toFront();
selected = not selected;
@@ -42,6 +72,8 @@
//filter.visible = selected;
//markAllOlder.visible = selected;
}
+ iconNode:
Duplicator.duplicate(TwitterFXUI.getCommonFurtherActionsIconUI().further_actions_icon)
+
}
var retweet:TinyButton = TinyButton {
@@ -49,11 +81,13 @@
label: "Retweet this tweet"
visible: false
icon: "grey/Player FastFwd"
+
action: function() {
Main.sendTweetPanel.showTweetPanel();
Main.sendTweetPanel.tweetBox.addPrefix("RT:
@{status.user.screenName} {status.text}");
+ }
+ iconNode:
Duplicator.duplicate(TwitterFXUI.getCommonRetweetIconUI().retweet_this_tweet_icon)
- }
}
var favorite:TinyButton = TinyButton {
@@ -61,8 +95,8 @@
visible: false
label: bind
if (status.isFavorite) "Unfavorite" else "Make Favorite";
- icon: bind
- if (status.isFavorite) "red/Heart" else "grey/Heart"
+ //icon: bind
+ // if (status.isFavorite) "red/Heart" else "grey/Heart"
action: function() {
if (not status.isFavorite) {
TwitterAPI.favourite(status.id);
@@ -71,17 +105,21 @@
TwitterAPI.unfavourite(status.id);
status.isFavorite = false;
}
- }}
+ }
+ iconNode:
Duplicator.duplicate(TwitterFXUI.getCommonFavoritesSmallIconUI().favorites_small_icon)
+ }
+
var permalink:TinyButton = TinyButton {
translateX: 75
visible: false
label: "Copy permalink to clipboard"
- icon: "grey/Link"
+ //icon: "grey/Link"
action: function() {
var cs:ClipboardServices = new ClipboardServices();
cs.pasteToClipboard("http://twitter.com/{status.user.screenName}/status/{status.id}");
}
+ iconNode:
Duplicator.duplicate(TwitterFXUI.getCommonInsertLinksUsingSmallIS_GDIconUI().inset_links_using_small_is_gd_icon)
}
var directMsg:TinyButton = TinyButton {
@@ -93,6 +131,8 @@
Main.sendTweetPanel.showTweetPanel();
Main.sendTweetPanel.tweetBox.addPrefix("d
{status.user.screenName}");
}
+ iconNode:
Duplicator.duplicate(TwitterFXUI.getCommonDirectMessagesSmallIconUI().direct_messages_small_icon)
+
}
/* var filter:TinyButton = TinyButton {
@@ -136,7 +176,7 @@
var background:Rectangle = Rectangle {
- width: 180;
+ width: 130;
height: 25;
translateY: -3;
translateX: -3;
Index: twitterfx/src/twitterfx/components/PopupMenu.fx
===================================================================
--- twitterfx/src/twitterfx/components/PopupMenu.fx (revision 34)
+++ twitterfx/src/twitterfx/components/PopupMenu.fx (revision 35)
@@ -1,4 +1,31 @@
/**
+Copyright (c) 2009, Steven Herod
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+* Neither the name of the Steven Herod nor the names of its contributors may
be
+used to endorse or promote products derived from this software without
specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
* Menu
*
* options appear when you hover over an object
@@ -194,4 +221,4 @@
}
return vBox;
}
-}
+}
\ No newline at end of file
Index: twitterfx/src/twitterfx/components/StatusNode.fx
===================================================================
--- twitterfx/src/twitterfx/components/StatusNode.fx (revision 34)
+++ twitterfx/src/twitterfx/components/StatusNode.fx (revision 35)
@@ -1,20 +1,31 @@
-/*
- TwitterFX http://herod.net/twitterfx/
- Copyright (C) 2009 Steven Herod (steven.herod@gmail.com)
+/*
+Copyright (c) 2009, Steven Herod
+All rights reserved.
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+* Redistributions of source cod
[truncated due to length]
|
[twitterfx~subversion:35] Updated copyright notices to be BSD license. |
sherod | 08/07/2009 |





