|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openjump.core.ui.plugin.mousemenu.category.CategoryMover
public class CategoryMover
Provides methods to move a category including the layers in it within the LayerNamePanel.
| Field Summary | |
|---|---|
protected PlugInContext |
context
|
| Constructor Summary | |
|---|---|
CategoryMover(PlugInContext context)
|
|
| Method Summary | |
|---|---|
protected Category |
getCategory(java.lang.String name)
Gets category with spcified name, if exists. |
void |
moveCategoryOneDown(Category cat)
Moves the given category to the next lower position in the LayerNamePanel |
void |
moveCategoryOneUp(Category cat)
Moves the given category to the next higher position in the LayerNamePanel |
void |
moveCategoryToBottom(Category cat)
Moves the given category to the bottom position in the LayerNamePanel |
void |
moveCategoryToPosition(Category cat,
int pos)
Moves the given category to the given position in the LayerNamePanel |
void |
moveCategoryToPosition(java.lang.String name,
int pos)
Moves the category with the given name to the given position in the LayerNamePanel |
void |
moveCategoryToTop(Category cat)
Moves the given category to the top position in the LayerNamePanel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PlugInContext context
| Constructor Detail |
|---|
public CategoryMover(PlugInContext context)
| Method Detail |
|---|
protected Category getCategory(java.lang.String name)
name -
public void moveCategoryToPosition(java.lang.String name,
int pos)
name - name of the categorypos - desired position
public void moveCategoryToPosition(Category cat,
int pos)
cat - category to movepos - desired positionpublic void moveCategoryToTop(Category cat)
cat - category to movepublic void moveCategoryToBottom(Category cat)
cat - category to movepublic void moveCategoryOneUp(Category cat)
cat - category to movepublic void moveCategoryOneDown(Category cat)
cat - category to move
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||