|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.support.v4.app.Fragment
org.android.activityminer.app.evaluation.EvaluationResultFragment
public class EvaluationResultFragment
The fragment for the first tab of the result browser. It does display the results for all evaluation runs in a list, sorted by accuracy and the count of evaluated features.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class android.support.v4.app.Fragment |
---|
android.support.v4.app.Fragment.InstantiationException, android.support.v4.app.Fragment.SavedState |
Field Summary | |
---|---|
private EvaluationResultCollection |
evalResults
The evaluation result collection. |
private boolean[] |
expansionStates
The selected and expanded group. |
Constructor Summary | |
---|---|
EvaluationResultFragment()
|
Method Summary | |
---|---|
protected FeatureTypes[] |
getSelectedFeatures(EvaluationResult evalResult)
Doe get the selected feature types from an evaluation resutl |
void |
onActivityCreated(Bundle savedInstanceState)
|
boolean |
onContextItemSelected(MenuItem item)
|
void |
onCreateContextMenu(ContextMenu menu,
View v,
ContextMenu.ContextMenuInfo menuInfo)
|
View |
onCreateView(LayoutInflater inflater,
ViewGroup container,
Bundle savedInstanceState)
|
private boolean |
onJoinWithCurrentTrainingConfiguration(EvaluationResult evalResult)
Does join the feature configuration with the given evaluation result configuration for model creation |
private boolean |
onSaveAsCurrentTrainingConfiguration(EvaluationResult evalResult)
Does update the feature configuration with the given evaluation result configuration for model creation |
void |
setEvaluationResult(EvaluationResultCollection evalResultCollection)
Setter for the evaluation result collection |
protected void |
updateView()
The view update method |
Methods inherited from class android.support.v4.app.Fragment |
---|
dump, equals, getActivity, getArguments, getChildFragmentManager, getFragmentManager, getId, getLayoutInflater, getLoaderManager, getParentFragment, getResources, getRetainInstance, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isVisible, onActivityResult, onAttach, onConfigurationChanged, onCreate, onCreateAnimation, onCreateOptionsMenu, onDestroy, onDestroyOptionsMenu, onDestroyView, onDetach, onHiddenChanged, onInflate, onLowMemory, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPrepareOptionsMenu, onResume, onSaveInstanceState, onStart, onStop, onViewCreated, onViewStateRestored, registerForContextMenu, setArguments, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setRetainInstance, setTargetFragment, setUserVisibleHint, startActivity, startActivityForResult, toString, unregisterForContextMenu |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private EvaluationResultCollection evalResults
private boolean[] expansionStates
Constructor Detail |
---|
public EvaluationResultFragment()
Method Detail |
---|
public void onActivityCreated(Bundle savedInstanceState)
onActivityCreated
in class android.support.v4.app.Fragment
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
onCreateView
in class android.support.v4.app.Fragment
public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)
onCreateContextMenu
in interface View.OnCreateContextMenuListener
onCreateContextMenu
in class android.support.v4.app.Fragment
public boolean onContextItemSelected(MenuItem item)
onContextItemSelected
in class android.support.v4.app.Fragment
private boolean onJoinWithCurrentTrainingConfiguration(EvaluationResult evalResult)
evalResult
- the evaluation result to update feature configuration with
protected FeatureTypes[] getSelectedFeatures(EvaluationResult evalResult)
evalResult
- the evaluation result
private boolean onSaveAsCurrentTrainingConfiguration(EvaluationResult evalResult)
evalResult
- the evaluation result to update feature configuration with
public final void setEvaluationResult(EvaluationResultCollection evalResultCollection)
IEvaluationResultFragment
setEvaluationResult
in interface IEvaluationResultFragment
evalResultCollection
- the evaluation result collectionprotected void updateView()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |