public class ActivitySequenceEditor extends Editor
Editor.EditorListener, Editor.LModel
Modifier and Type | Field and Description |
---|---|
static boolean |
actionsCreated |
static ImageIcon |
icon |
static EditorAction |
newActivitySequenceElementAction |
protected DefaultListModel |
tagList |
allowCopy, allowCut, allowDelete, allowPaste, basicActionsCreated, clip, clipCutted, copyAction, currentTree, cutAction, deleteAction, listeners, listModel, listSelectionModel, moveDownAction, moveUpAction, pasteAction, restrictMoveToSameType, treeModel
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
ActivitySequenceEditor(ActivitySequence ac)
Creates a new instance of ActivitySequenceEditor
|
Modifier and Type | Method and Description |
---|---|
void |
clearActionsOwner() |
static void |
createActions(Options options) |
protected void |
createChildren() |
EditorPanel |
createEditorPanel(Options options) |
boolean |
createNewSequenceElement(int index,
boolean prompt,
Component dlgParent) |
boolean |
createNewSequenceElement(String actName,
String tag,
int index) |
ActivitySequence |
getActivitySequence() |
Class |
getEditorPanelClass() |
static Icon |
getIcon() |
Icon |
getIcon(boolean leaf,
boolean expanded) |
Options |
getOptions() |
JClicProjectEditor |
getProjectEditor() |
String |
getTag(String tag) |
ListModel |
getTagList() |
String |
getTitleKey() |
void |
insert(MutableTreeNode newChild,
int childIndex) |
boolean |
nameChanged(int type,
String oldName,
String newName) |
void |
remove(int childIndex) |
void |
removeElementsWith(String activityName) |
void |
setActionsOwner() |
String |
toString() |
addEditorListener, canBeParentOf, canBeSiblingOf, canClone, canPasteHere, clearBasicActionsOwner, collectData, copy, createBasicActions, createEditor, createJTree, cut, delete, editData, findParentForDlg, fireEditorDataChanged, getChildByName, getClone, getCurrentTree, getEditorParent, getFirstChild, getFirstObject, getFirstParent, getListModel, getListSelectionModel, getNearestIndex, getTreeModel, insertEditor, isModified, moveDown, moveToIndex, moveUp, paste, removeEditorListener, reselect, select, setClip, setCurrentTree, setListSelectionModel, setModified, setTreeModel
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
public static ImageIcon icon
protected DefaultListModel tagList
public static boolean actionsCreated
public static EditorAction newActivitySequenceElementAction
public ActivitySequenceEditor(ActivitySequence ac)
protected void createChildren()
createChildren
in class Editor
public EditorPanel createEditorPanel(Options options)
createEditorPanel
in class Editor
public Class getEditorPanelClass()
getEditorPanelClass
in class Editor
public String getTitleKey()
getTitleKey
in class Editor
public ActivitySequence getActivitySequence()
public static Icon getIcon()
public Options getOptions()
public JClicProjectEditor getProjectEditor()
public void removeElementsWith(String activityName)
public boolean createNewSequenceElement(int index, boolean prompt, Component dlgParent)
public boolean createNewSequenceElement(String actName, String tag, int index)
public ListModel getTagList()
public void insert(MutableTreeNode newChild, int childIndex)
insert
in interface MutableTreeNode
insert
in class Editor
public void remove(int childIndex)
remove
in interface MutableTreeNode
remove
in class Editor
public void setActionsOwner()
setActionsOwner
in class Editor
public void clearActionsOwner()
clearActionsOwner
in class Editor
public static void createActions(Options options)
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.