mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-13 14:48:01 -05:00
Added some JavaDoc Comments :)
This commit is contained in:
parent
8251c47d6e
commit
fc948fd596
@ -3,6 +3,11 @@ package org.yaaic.client;
|
|||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* About Activity
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
public class About extends Activity
|
public class About extends Activity
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
|
@ -10,6 +10,11 @@ import android.widget.Button;
|
|||||||
import android.widget.CheckBox;
|
import android.widget.CheckBox;
|
||||||
import android.widget.EditText;
|
import android.widget.EditText;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ServerAdd Activity
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
public class ServerAdd extends Activity implements OnClickListener
|
public class ServerAdd extends Activity implements OnClickListener
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
|
@ -35,7 +35,13 @@ import org.yaaic.client.db.ServerDatabase;
|
|||||||
import org.yaaic.client.irc.IrcBinder;
|
import org.yaaic.client.irc.IrcBinder;
|
||||||
import org.yaaic.client.irc.IrcService;
|
import org.yaaic.client.irc.IrcService;
|
||||||
|
|
||||||
public class ServerList extends ListActivity implements OnItemLongClickListener, ServiceConnection {
|
/**
|
||||||
|
* ServerList Activity
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
|
public class ServerList extends ListActivity implements OnItemLongClickListener, ServiceConnection
|
||||||
|
{
|
||||||
public static final String TAG = "Yaaic/ServerList";
|
public static final String TAG = "Yaaic/ServerList";
|
||||||
|
|
||||||
private ServerDatabase db;
|
private ServerDatabase db;
|
||||||
|
@ -18,6 +18,11 @@ import android.view.MenuInflater;
|
|||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ServerWindow Activity
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
public class ServerWindow extends ExpandableListActivity implements ServiceConnection
|
public class ServerWindow extends ExpandableListActivity implements ServiceConnection
|
||||||
{
|
{
|
||||||
private static final String TAG = "Yaaic/ServerWindow";
|
private static final String TAG = "Yaaic/ServerWindow";
|
||||||
|
@ -7,6 +7,11 @@ import android.widget.AbsListView;
|
|||||||
import android.widget.BaseExpandableListAdapter;
|
import android.widget.BaseExpandableListAdapter;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ServerWindowListAdapater
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
public class ServerWindowListAdapter extends BaseExpandableListAdapter
|
public class ServerWindowListAdapter extends BaseExpandableListAdapter
|
||||||
{
|
{
|
||||||
private ServerWindow serverWindow;
|
private ServerWindow serverWindow;
|
||||||
|
@ -3,6 +3,11 @@ package org.yaaic.client;
|
|||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.preference.PreferenceActivity;
|
import android.preference.PreferenceActivity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Settings Activity
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
public class Settings extends PreferenceActivity
|
public class Settings extends PreferenceActivity
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
|
@ -2,6 +2,12 @@ package org.yaaic.client;
|
|||||||
|
|
||||||
import android.app.Application;
|
import android.app.Application;
|
||||||
|
|
||||||
public class YaaicApplication extends Application {
|
/**
|
||||||
|
* YaaicApplication
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
|
public class YaaicApplication extends Application
|
||||||
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,11 @@ package org.yaaic.client.db;
|
|||||||
|
|
||||||
import android.provider.BaseColumns;
|
import android.provider.BaseColumns;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ChannelConstants
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
public interface ChannelConstants extends BaseColumns
|
public interface ChannelConstants extends BaseColumns
|
||||||
{
|
{
|
||||||
public static final String TABLE_NAME = "channels";
|
public static final String TABLE_NAME = "channels";
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
package org.yaaic.client.db;
|
package org.yaaic.client.db;
|
||||||
|
|
||||||
public class IdentityConstants {
|
/**
|
||||||
|
* IdentityConstants
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
|
public class IdentityConstants
|
||||||
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,11 @@ package org.yaaic.client.db;
|
|||||||
|
|
||||||
import android.provider.BaseColumns;
|
import android.provider.BaseColumns;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Server Constants
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
public interface ServerConstants extends BaseColumns
|
public interface ServerConstants extends BaseColumns
|
||||||
{
|
{
|
||||||
public static final String TABLE_NAME = "servers";
|
public static final String TABLE_NAME = "servers";
|
||||||
|
@ -6,6 +6,11 @@ import android.database.Cursor;
|
|||||||
import android.database.sqlite.SQLiteDatabase;
|
import android.database.sqlite.SQLiteDatabase;
|
||||||
import android.database.sqlite.SQLiteOpenHelper;
|
import android.database.sqlite.SQLiteOpenHelper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ServerDatabase
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
public class ServerDatabase extends SQLiteOpenHelper
|
public class ServerDatabase extends SQLiteOpenHelper
|
||||||
{
|
{
|
||||||
private static final String DATABASE_NAME = "servers.db";
|
private static final String DATABASE_NAME = "servers.db";
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
package org.yaaic.client.irc;
|
package org.yaaic.client.irc;
|
||||||
|
|
||||||
public class ChannelBuffer extends MessageBuffer {
|
/**
|
||||||
|
* ChannelBuffer
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
|
public class ChannelBuffer extends MessageBuffer
|
||||||
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,7 @@ import android.os.Binder;
|
|||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* IrcBinder
|
||||||
*
|
*
|
||||||
* @author Sebastian Kaspari <pocmo@yaaic.org>
|
* @author Sebastian Kaspari <pocmo@yaaic.org>
|
||||||
*/
|
*/
|
||||||
|
@ -2,6 +2,11 @@ package org.yaaic.client.irc;
|
|||||||
|
|
||||||
import org.jibble.pircbot.PircBot;
|
import org.jibble.pircbot.PircBot;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* IrcServer
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
public class IrcServer extends PircBot
|
public class IrcServer extends PircBot
|
||||||
{
|
{
|
||||||
public IrcServer()
|
public IrcServer()
|
||||||
|
@ -15,6 +15,7 @@ import android.os.IBinder;
|
|||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* IrcService
|
||||||
*
|
*
|
||||||
* @author Sebastian Kaspari
|
* @author Sebastian Kaspari
|
||||||
*/
|
*/
|
||||||
|
@ -5,6 +5,7 @@ import java.util.ArrayList;
|
|||||||
import android.text.SpannableString;
|
import android.text.SpannableString;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* MessageBuffer
|
||||||
*
|
*
|
||||||
* @author Sebastian Kaspari <pocmo@yaaic.org>
|
* @author Sebastian Kaspari <pocmo@yaaic.org>
|
||||||
*/
|
*/
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
package org.yaaic.client.irc;
|
package org.yaaic.client.irc;
|
||||||
|
|
||||||
public class ServerBuffer extends MessageBuffer {
|
/**
|
||||||
|
* ServerBuffer
|
||||||
|
*
|
||||||
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
||||||
|
*/
|
||||||
|
public class ServerBuffer extends MessageBuffer
|
||||||
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user