|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.content.Context
android.content.ContextWrapper
android.view.ContextThemeWrapper
android.app.Activity
com.j256.ormlite.android.apptools.OrmLiteBaseActivity<DatabaseHelper>
de.msponer.android.yac.activities.workqueues.EditWorkItemActivity
public class EditWorkItemActivity
Activity to edit a mobile work item. Content view is generated by a given XSD and XML document.
Field Summary | |
---|---|
static int |
COMPLETED
Result code for operation: 'Complete'. |
static int |
QR_SCAN_COMPLETE
Request code for a complete (implicit) QR code scan operation. |
static int |
QR_SCAN_SINGLE
Request code for a single (explicit) QR code scan operation. |
static int |
SAVED
Result code for operation: 'Saved'. |
static int |
SIGN
Request code indicating a touch screen signing. |
static int |
TAKE_PICTUTE
Request code for taking a picture. |
Fields inherited from class android.app.Activity |
---|
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK |
Constructor Summary | |
---|---|
EditWorkItemActivity()
|
Method Summary | |
---|---|
View |
addButtonLayout(WorkItemElementEntry workItemElementEntry,
LinearLayout fatherLayout,
LinearLayout childLayout)
Adds a button layout for adding and removing view components. |
void |
createViewElements(LinearLayout fatherLayout,
WorkItemElementEntry root)
Creates view elements based on the work element entries and adds them to the given father layout. |
MobileWorkItem |
getCurrentMobileWorkItem()
Returns the current mobile work item. |
int |
getUniqueViewId()
Return a unique view id. |
WorkItemElementEntry |
getWorkItemElementEntryRoot()
Returns the current work item element entry root. |
protected void |
onActivityResult(int requestCode,
int resultCode,
Intent intent)
|
boolean |
onContextItemSelected(MenuItem item)
|
protected void |
onCreate(Bundle savedInstanceState)
|
boolean |
onCreateOptionsMenu(Menu menu)
|
boolean |
onOptionsItemSelected(MenuItem item)
|
Methods inherited from class com.j256.ormlite.android.apptools.OrmLiteBaseActivity |
---|
getConnectionSource, getHelper, getHelperInternal, onDestroy, releaseHelper |
Methods inherited from class android.view.ContextThemeWrapper |
---|
attachBaseContext, getTheme, setTheme |
Methods inherited from class android.content.Context |
---|
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int QR_SCAN_SINGLE
public static final int QR_SCAN_COMPLETE
public static final int TAKE_PICTUTE
public static final int SIGN
public static final int COMPLETED
public static final int SAVED
Constructor Detail |
---|
public EditWorkItemActivity()
Method Detail |
---|
protected void onCreate(Bundle savedInstanceState)
onCreate
in class Activity
public void createViewElements(LinearLayout fatherLayout, WorkItemElementEntry root)
fatherLayout
- The father layout to which items are added.root
- The work element entry root.public View addButtonLayout(WorkItemElementEntry workItemElementEntry, LinearLayout fatherLayout, LinearLayout childLayout)
workItemElementEntry
- The work item element entryfatherLayout
- The father layout.childLayout
- The child layout.
public boolean onCreateOptionsMenu(Menu menu)
onCreateOptionsMenu
in class Activity
public boolean onOptionsItemSelected(MenuItem item)
onOptionsItemSelected
in class Activity
public boolean onContextItemSelected(MenuItem item)
onContextItemSelected
in class Activity
public int getUniqueViewId()
protected void onActivityResult(int requestCode, int resultCode, Intent intent)
onActivityResult
in class Activity
public MobileWorkItem getCurrentMobileWorkItem()
public WorkItemElementEntry getWorkItemElementEntryRoot()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |