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 classLayerUtils.SearchMode
-
Field Summary
Fields Modifier and Type Field Description static LayerUtils.SearchModeSEARCH_DEEPstatic LayerUtils.SearchModeSEARCH_FLAT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LayergetChildLayer(Layer root, LayerUtils.SearchMode mode, LayerFilter filter)static LayergetChildLayerById(Layer root, String id)static LayergetChildLayerByName(Layer root, String name)static intgetChildLayerIndex(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 LayergetRootLayer(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)
-
-