diff --git a/.settings/net.sf.jautodoc.prefs b/.settings/net.sf.jautodoc.prefs index a421a028ba6..eb2b0f6a753 100644 --- a/.settings/net.sf.jautodoc.prefs +++ b/.settings/net.sf.jautodoc.prefs @@ -1,8 +1,8 @@ -#Mon Nov 28 11:47:48 PST 2011 +#Mon Nov 28 12:55:58 PST 2011 add_header=true add_todo=false eclipse.preferences.version=1 -header_text=/*\n * Forge\: Play Magic\: the Gathering.\n * Copyright (C) 2011 Forge Team\n *\n * This program is free software\: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n * \n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n * \n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see .\n */ +header_text=/*\n * Forge\: Play Magic\: the Gathering.\n * Copyright (C) 2011 Nate\n *\n * This program is free software\: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n * \n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n * \n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see .\n */ project_specific_settings=true replacements=\n\n\nGets the\nSets the\nAdds the\nEdits the\nRemoves the\nInits the\nParses the\nCreates the\nBuilds the\nChecks if is\nPrints the\nChecks for\n\n\n visibility_private=false diff --git a/src/main/java/arcane/ui/CardArea.java b/src/main/java/arcane/ui/CardArea.java index c3a05eb8a9c..fa6b0b0abf0 100644 --- a/src/main/java/arcane/ui/CardArea.java +++ b/src/main/java/arcane/ui/CardArea.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.ui; import java.awt.Color; diff --git a/src/main/java/arcane/ui/CardPanel.java b/src/main/java/arcane/ui/CardPanel.java index 6dbf36798b0..4ae7d1e15b5 100644 --- a/src/main/java/arcane/ui/CardPanel.java +++ b/src/main/java/arcane/ui/CardPanel.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.ui; import java.awt.Color; diff --git a/src/main/java/arcane/ui/CardPanelContainer.java b/src/main/java/arcane/ui/CardPanelContainer.java index 2b6056c2304..4e2cb0bdd38 100644 --- a/src/main/java/arcane/ui/CardPanelContainer.java +++ b/src/main/java/arcane/ui/CardPanelContainer.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.ui; import java.awt.Dimension; diff --git a/src/main/java/arcane/ui/HandArea.java b/src/main/java/arcane/ui/HandArea.java index 98f09fb6a0b..a26917e4dc3 100644 --- a/src/main/java/arcane/ui/HandArea.java +++ b/src/main/java/arcane/ui/HandArea.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.ui; import java.awt.Frame; diff --git a/src/main/java/arcane/ui/PlayArea.java b/src/main/java/arcane/ui/PlayArea.java index d3ddbb0ac18..81c8052bfde 100644 --- a/src/main/java/arcane/ui/PlayArea.java +++ b/src/main/java/arcane/ui/PlayArea.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.ui; import java.awt.Color; diff --git a/src/main/java/arcane/ui/ScaledImagePanel.java b/src/main/java/arcane/ui/ScaledImagePanel.java index 96a0b211531..67a79074052 100644 --- a/src/main/java/arcane/ui/ScaledImagePanel.java +++ b/src/main/java/arcane/ui/ScaledImagePanel.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.ui; import java.awt.Graphics; diff --git a/src/main/java/arcane/ui/ViewPanel.java b/src/main/java/arcane/ui/ViewPanel.java index 4ade63a2fa7..56f089d8147 100644 --- a/src/main/java/arcane/ui/ViewPanel.java +++ b/src/main/java/arcane/ui/ViewPanel.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.ui; import java.awt.BorderLayout; diff --git a/src/main/java/arcane/ui/util/Animation.java b/src/main/java/arcane/ui/util/Animation.java index b7659b28041..13bf55763e6 100644 --- a/src/main/java/arcane/ui/util/Animation.java +++ b/src/main/java/arcane/ui/util/Animation.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.ui.util; import java.awt.Container; diff --git a/src/main/java/arcane/ui/util/CardPanelMouseListener.java b/src/main/java/arcane/ui/util/CardPanelMouseListener.java index 4c775dcc0c1..9620bdd316e 100644 --- a/src/main/java/arcane/ui/util/CardPanelMouseListener.java +++ b/src/main/java/arcane/ui/util/CardPanelMouseListener.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.ui.util; import arcane.ui.CardPanel; diff --git a/src/main/java/arcane/ui/util/GlowText.java b/src/main/java/arcane/ui/util/GlowText.java index 9b4d5f04e88..0cf751ad067 100644 --- a/src/main/java/arcane/ui/util/GlowText.java +++ b/src/main/java/arcane/ui/util/GlowText.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.ui.util; import java.awt.AlphaComposite; diff --git a/src/main/java/arcane/ui/util/ImageUtil.java b/src/main/java/arcane/ui/util/ImageUtil.java index 48ac1aca633..009fd05dc74 100644 --- a/src/main/java/arcane/ui/util/ImageUtil.java +++ b/src/main/java/arcane/ui/util/ImageUtil.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.ui.util; import java.awt.Graphics2D; @@ -20,16 +37,15 @@ import javax.imageio.ImageIO; * @version $Id$ */ public class ImageUtil { + /** *

* getImage. *

- * - * @param stream - * a {@link java.io.InputStream} object. + * + * @param stream a {@link java.io.InputStream} object. * @return a {@link java.awt.image.BufferedImage} object. - * @throws java.io.IOException - * if any. + * @throws IOException Signals that an I/O exception has occurred. */ public static BufferedImage getImage(final InputStream stream) throws IOException { Image tempImage = ImageIO.read(stream); @@ -45,12 +61,10 @@ public class ImageUtil { *

* getImage. *

- * - * @param file - * a {@link java.io.File} object. + * + * @param file a {@link java.io.File} object. * @return a {@link java.awt.image.BufferedImage} object. - * @throws java.io.IOException - * if any. + * @throws IOException Signals that an I/O exception has occurred. */ public static BufferedImage getImage(final File file) throws IOException { Image tempImage = ImageIO.read(file); diff --git a/src/main/java/arcane/ui/util/ManaSymbols.java b/src/main/java/arcane/ui/util/ManaSymbols.java index 2caf39a4614..017f847a822 100644 --- a/src/main/java/arcane/ui/util/ManaSymbols.java +++ b/src/main/java/arcane/ui/util/ManaSymbols.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.ui.util; import java.awt.Graphics; diff --git a/src/main/java/arcane/ui/util/UI.java b/src/main/java/arcane/ui/util/UI.java index 7a85cd3bf2b..cf7d18de62b 100644 --- a/src/main/java/arcane/ui/util/UI.java +++ b/src/main/java/arcane/ui/util/UI.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.ui.util; import java.awt.Component; diff --git a/src/main/java/arcane/util/MultiplexOutputStream.java b/src/main/java/arcane/util/MultiplexOutputStream.java index 75cecec70d1..52ab72daa96 100644 --- a/src/main/java/arcane/util/MultiplexOutputStream.java +++ b/src/main/java/arcane/util/MultiplexOutputStream.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.util; import java.io.IOException; diff --git a/src/main/java/arcane/util/Util.java b/src/main/java/arcane/util/Util.java index cdd90e3823f..86e4c3725c6 100644 --- a/src/main/java/arcane/util/Util.java +++ b/src/main/java/arcane/util/Util.java @@ -1,3 +1,20 @@ +/* + * Forge: Play Magic: the Gathering. + * Copyright (C) 2011 Nate + * + * 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 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 . + */ package arcane.util; import java.io.IOException; @@ -56,13 +73,10 @@ public class Util { *

* broadcast. *

- * - * @param data - * an array of byte. - * @param port - * a int. - * @throws java.io.IOException - * if any. + * + * @param data an array of byte. + * @param port a int. + * @throws IOException Signals that an I/O exception has occurred. */ public static void broadcast(final byte[] data, final int port) throws IOException { DatagramSocket socket = new DatagramSocket(); @@ -109,11 +123,9 @@ public class Util { *

* invokeAndWait. *

- * - * @param runnable - * a {@link java.lang.Runnable} object. - * @throws java.lang.Exception - * if any. + * + * @param runnable a {@link java.lang.Runnable} object. + * @throws Exception the exception */ public static void invokeAndWait(final Runnable runnable) throws Exception { try {