|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.project.ui.SelectionStyle
public class SelectionStyle
Describes how to handle a layer's selection.
Field Summary | |
---|---|
static SelectionStyle |
EXCLUSIVE
Only draw the selection but as normal features |
static SelectionStyle |
EXCLUSIVE_ALL
Draw the selection when there is a selection, draw the rest as normal |
static SelectionStyle |
EXCLUSIVE_ALL_SELECTION
Draw the selection when there is a selection, draw the rest as normal |
static SelectionStyle |
EXCLUSIVE_SELECTION
Only draw the selection but using the selection style |
static SelectionStyle |
IGNORE
Don't draw the selections |
static SelectionStyle |
OVERLAY
Overlay the selection on top of the normal rendering |
Constructor Summary | |
---|---|
protected |
SelectionStyle()
|
|
SelectionStyle(net.refractions.udig.project.ui.SelectionStyle.Style style)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
boolean |
getShowLabels()
|
protected java.util.List<Layer> |
handleSelection(java.util.List<Layer> layersInternal)
|
int |
hashCode()
|
java.lang.String |
name()
Returns a name (and identifier) for this object |
void |
setShowLabels(boolean b)
|
static SelectionStyle |
valueOf(java.lang.String name)
Given a name returned by name() this class returns one of the defaults |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SelectionStyle IGNORE
public static final SelectionStyle OVERLAY
public static final SelectionStyle EXCLUSIVE
public static final SelectionStyle EXCLUSIVE_SELECTION
public static final SelectionStyle EXCLUSIVE_ALL
public static final SelectionStyle EXCLUSIVE_ALL_SELECTION
The selection is to be drawn using the selection style
Constructor Detail |
---|
protected SelectionStyle()
public SelectionStyle(net.refractions.udig.project.ui.SelectionStyle.Style style)
Method Detail |
---|
protected java.util.List<Layer> handleSelection(java.util.List<Layer> layersInternal)
public java.lang.String name()
public void setShowLabels(boolean b)
public boolean getShowLabels()
public static SelectionStyle valueOf(java.lang.String name)
name()
this class returns one of the defaults
name
- name of the SelectionStyle
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |