Package com.bc.ceres.glayer.support
Class LayerUtils
- java.lang.Object
-
- com.bc.ceres.glayer.support.LayerUtils
-
public class LayerUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LayerUtils.SearchMode
-
Field Summary
Fields Modifier and Type Field Description static LayerUtils.SearchMode
SEARCH_DEEP
static LayerUtils.SearchMode
SEARCH_FLAT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Layer
getChildLayer(Layer root, LayerUtils.SearchMode mode, LayerFilter filter)
static Layer
getChildLayerById(Layer root, String id)
static Layer
getChildLayerByName(Layer root, String name)
static int
getChildLayerIndex(Layer root, LayerUtils.SearchMode mode, int defaultIndex, LayerFilter filter)
static List<Layer>
getChildLayers(Layer root, LayerUtils.SearchMode mode, LayerFilter filter)
static Layer[]
getLayerPath(Layer root, Layer layer)
static Collection<Layer[]>
getLayerPaths(Layer root, LayerFilter filter)
static Layer
getRootLayer(Layer layer)
-
-
-
Field Detail
-
SEARCH_FLAT
public static final LayerUtils.SearchMode SEARCH_FLAT
-
SEARCH_DEEP
public static final LayerUtils.SearchMode SEARCH_DEEP
-
-
Method Detail
-
getChildLayerIndex
public static int getChildLayerIndex(Layer root, LayerUtils.SearchMode mode, int defaultIndex, LayerFilter filter)
-
getChildLayer
public static Layer getChildLayer(Layer root, LayerUtils.SearchMode mode, LayerFilter filter)
-
getChildLayers
public static List<Layer> getChildLayers(Layer root, LayerUtils.SearchMode mode, LayerFilter filter)
-
getLayerPaths
public static Collection<Layer[]> getLayerPaths(Layer root, LayerFilter filter)
-
-