public class SendTextFragment
extends com.actionbarsherlock.app.SherlockFragment
implements android.view.View.OnClickListener
| Modifier and Type | Field and Description |
|---|---|
private static boolean |
chosen |
private static android.widget.TextView |
datarateCallback |
private android.widget.EditText |
edittext |
private static boolean |
highspeed |
private static java.lang.String |
option |
private android.widget.Button |
send |
private android.widget.Switch |
switchDatarate |
private static android.widget.TextView |
textCallback |
| Constructor and Description |
|---|
SendTextFragment() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getChosen()
Getter-Method for the chosen flag.
|
static boolean |
getHighspeed()
Getter-Method for the highspeed mode.
|
static java.lang.String |
getOption()
Getter-Method for the option.
|
void |
onClick(android.view.View v) |
void |
onCreate(android.os.Bundle savedInstanceState) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
static void |
setAnswer(java.lang.String answer)
Setter-Method for the callback.
|
static void |
setDatarateCallback(java.lang.String datarate)
Setter-Method for the highspeed callback.
|
getSherlockActivity, onAttach, onCreateOptionsMenu, onCreateOptionsMenu, onDetach, onOptionsItemSelected, onOptionsItemSelected, onPrepareOptionsMenu, onPrepareOptionsMenudump, equals, getActivity, getArguments, getChildFragmentManager, getFragmentManager, getId, getLayoutInflater, getLoaderManager, getParentFragment, getResources, getRetainInstance, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isVisible, onActivityCreated, onActivityResult, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateContextMenu, onDestroy, onDestroyOptionsMenu, onDestroyView, onHiddenChanged, onInflate, onLowMemory, onOptionsMenuClosed, onPause, onResume, onSaveInstanceState, onStart, onStop, onViewCreated, onViewStateRestored, registerForContextMenu, setArguments, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setRetainInstance, setTargetFragment, setUserVisibleHint, startActivity, startActivityForResult, toString, unregisterForContextMenuprivate android.widget.Switch switchDatarate
private android.widget.EditText edittext
private android.widget.Button send
private static boolean highspeed
private static android.widget.TextView textCallback
private static android.widget.TextView datarateCallback
private static java.lang.String option
private static boolean chosen
public void onCreate(android.os.Bundle savedInstanceState)
onCreate in class android.support.v4.app.Fragmentpublic android.view.View onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
onCreateView in class android.support.v4.app.Fragmentpublic void onClick(android.view.View v)
onClick in interface android.view.View.OnClickListenerpublic static java.lang.String getOption()
public static void setAnswer(java.lang.String answer)
answer - the callback from the mainactivitypublic static boolean getHighspeed()
public static boolean getChosen()
public static void setDatarateCallback(java.lang.String datarate)
datarate - the used datarate