Commit Graph

1095 Commits

Author SHA1 Message Date
mdb 95fa0e517d Added convenience methods for formatting floating point values with
sensible default rules (ie. 1.45).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1143 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-02 23:48:33 +00:00
mdb ef98ebaa35 Get the column count from the table column model, not the table model. The
column model knows how many columns there actually are, as some of them
may have been removed.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1142 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-02 17:45:35 +00:00
mdb 7e7e4369d4 Export the function we use to unstudlify member names when converting them
to column names.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1141 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-31 03:02:46 +00:00
mdb 7b21303b0f Whoopskidoodle! We'll be wanting to blow away the top-level directory in
recursiveDelete().


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1140 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-27 07:58:08 +00:00
mdb 5d22681233 Added a useful toString().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1139 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-25 01:49:20 +00:00
mdb a432cad4ed Added a recursive delete alternative that doesn't delete the top directory.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1137 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-23 18:13:36 +00:00
ray abef5bf16f Fixed up javadocs.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1135 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-20 17:43:02 +00:00
ray f3327b480b Added callback in DragSource so that the source can reject the target
before the target even gets a chance to ask if the drop is ok with it.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1134 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-20 17:35:51 +00:00
mdb 8aa1d804fe Handle the proper commands.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1133 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-19 02:53:25 +00:00
mdb 9e01d5b9fc Moved createImageCursor() into SwingUtil.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1132 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-15 22:02:11 +00:00
ray b728c6f5df Stream utilities.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1131 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-14 21:30:29 +00:00
ray 2653de3aa1 Only apply icon padding to the left and right side of the icon.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1130 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-14 01:52:52 +00:00
mdb 51eb251fba Allow for padding to be specified for the icon.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1129 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-12 16:13:15 +00:00
ray b88d832aeb git-svn-id: https://samskivert.googlecode.com/svn/trunk@1126 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2003-05-09 21:32:11 +00:00
ray 5f867b74fb Some minor cleanups.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1124 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-08 21:46:28 +00:00
ray 62593a4d34 Pipe graphics output to two different Graphics2D objects.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1123 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-08 06:39:37 +00:00
mdb 64becb719c Use the new preferences system.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1122 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-07 17:27:40 +00:00
mdb a0abb3cbe6 Add temporary directory preference key.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1121 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-07 17:27:26 +00:00
mdb c5f3d888b4 Moved error reporting method into utility class.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1120 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-07 17:27:12 +00:00
mdb 8e2c73b379 Make sure we can access the method before calling it.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1119 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-04 23:35:03 +00:00
mdb 3710afb351 New ignoring fun.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1118 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-04 18:16:47 +00:00
mdb 70c1e0a28e Properties no longer come from conf/.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1117 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-04 18:16:26 +00:00
mdb a8fdad6afb Revamped preferences handling; added support for voting for songs you
like. Eventually we'll actually make use of the voting information.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1116 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-04 18:16:07 +00:00
mdb 87fa79febe No longer needed.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1115 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-03 19:02:24 +00:00
mdb 8df72f9ab4 Out with the old school properties.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1114 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-03 19:02:08 +00:00
ray dec702c4d0 File utilities.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1113 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-03 00:50:57 +00:00
ray d7bd4e2d8e Linux isn't excepted from wacky issues.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1112 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-03 00:12:42 +00:00
mdb 136fb4cd61 Reformatting.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1111 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-03 00:10:27 +00:00
mdb 1f6df2835f Let's make this work on the Mac.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1110 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-03 00:10:01 +00:00
mdb c42db97465 More Mac hackery.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1109 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-03 00:06:23 +00:00
mdb 9052ba869d Yay! It's just what I've always hoped for.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1108 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-02 23:47:39 +00:00
ray ccda16e138 More dealing with components that are no longer on screen..
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1107 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-01 01:28:07 +00:00
ray ec6bfc4439 Protect against a wacky failure I witnessed.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1106 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-30 23:03:52 +00:00
ray 9784947f9c Was already Clonable; made a public clone(), made it do the right thing.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1105 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-30 22:24:31 +00:00
mdb bd9ac0902b Added the ability to temporarily disable flushing on LRU hash maps.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1104 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-27 07:37:32 +00:00
mdb 50343eca92 Make the adjustment editor scroll sanely.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1103 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-26 17:59:17 +00:00
mdb eabbc87ac2 Have our host tell us the view bounds rather than assuming they are
widthxheight+0+0.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1102 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-22 22:04:55 +00:00
ray 935dde422d possibly fix to work with negative values
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1101 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-20 01:06:12 +00:00
mdb 09a1df0e7b Don't freak out if we are deactivated multiple times.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1100 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-16 22:50:55 +00:00
mdb 77394018ae Behave like a normal swing component and just post actions to our action
listeners. If they want to do the controller thing, they can.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1099 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-15 20:54:34 +00:00
mdb 0a8c5524db git-svn-id: https://samskivert.googlecode.com/svn/trunk@1098 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2003-04-15 20:28:36 +00:00
mdb d4082ae0b7 Yay for type safety!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1096 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-10 21:43:13 +00:00
mdb c925bd6304 Added method for tersely summarizing the histogram.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1095 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-10 20:50:47 +00:00
mdb 9b7faf8e10 Don't let our preferred size shrink in our constrained direction.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1092 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-04 21:29:54 +00:00
mdb 50e2d51f89 Set the cell height as well.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1091 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-04 18:55:24 +00:00
ray d6052c18cd added methods for integer range and general purpose validation of parameters
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1090 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-04 04:19:44 +00:00
mdb 89f7f2370c Fixed a problem with "smart" sizing of multiline labels. User interfaces
are complicated things.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1089 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-02 04:04:53 +00:00
mdb 59593f67ad Better error message.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1088 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-02 04:01:50 +00:00
ray d0128668b3 added a constructor that takes a dimension
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1087 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-04-01 11:04:18 +00:00
mdb 718cd99144 Made isRunning() public.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1086 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-03-31 04:09:50 +00:00