org.arakhne.afc.ui.android.property
public class PropertyEditors extends Object
| Constructor and Description |
|---|
PropertyEditors() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static PropertyEditorView |
createFragmentFor(android.content.Context context,
Class<? extends PropertyOwner> editedObjectType)
Create a fragment that permits to edit the properties for
the given object.
|
static void |
registerEditorFragment(Class<? extends PropertyEditorView> fragmentType,
Class<? extends PropertyOwner> objectType)
Register a property editor fragment.
|
static void |
showDialog(android.content.Context context,
boolean isEditable,
UndoManager undoManager,
Collection<? extends PropertyOwner> editedObjects)
Display the dialog that permits to edit the properties.
|
public static void showDialog(android.content.Context context,
boolean isEditable,
UndoManager undoManager,
Collection<? extends PropertyOwner> editedObjects)
context - isEditable - indicates if the dialog box allows editions.undoManager - is the undo manager to use.editedObjects - are the edited objects.public static void registerEditorFragment(Class<? extends PropertyEditorView> fragmentType, Class<? extends PropertyOwner> objectType)
fragmentType - is the type of the fragment to create for editing the properties of an object of the given type.objectType - is the type of the object to edit.static PropertyEditorView createFragmentFor(android.content.Context context, Class<? extends PropertyOwner> editedObjectType)
context - editedObjectType - null if there is no known fragment.Copyright © 2001-2013 NetEditor Developers. 
NetEditor API Documentation by NetEditor Developers is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Based on a work at www.arakhne.org/neteditor