MinieLibrary/src/main/java/jme3utilities/minie/PhysicsDumper.java
/**
     * Test whether the specified dump flag is set.
     *
     * @param dumpFlag which flag to test (not null)
     * @return true if output is enabled, otherwise false
     */
Test whether the specified dump flag is set.

@param dumpFlag which flag to test (not null)
@return true if output is enabled, otherwise false
Test whether the specified dump flag is set . @param dumpFlag which flag to test ( not null ) @return true if output is enabled otherwise false
public boolean isEnabled(DumpFlags dumpFlag) {
        boolean result;
        switch (dumpFlag) {
            case BoundsInSpatials:
                result = isDumpBounds();
                break;
            case Buckets:
                result = isDumpBucket();
                break;
            case ChildShapes:
                result = dumpChildShapes;
                break;
            case ClustersInSofts:
                result = dumpClustersInSofts;
                break;
            case CullHints:
                result = isDumpCull();
                break;
            case Ignores:
                result = dumpIgnores;
                break;
            case JointsInBodies:
                result = dumpJointsInBodies;
                break;
            case JointsInSpaces:
                result = dumpJointsInSpaces;
                break;
            case MatParams:
                result = isDumpMatParam();
                break;
            case Motors:
                result = dumpMotors;
                break;
            case NativeIDs:
                result = dumpNativeIDs;
                break;
            case NodesInClusters:
                result = dumpNodesInClusters;
                break;
            case NodesInSofts:
                result = dumpNodesInSofts;
                break;
            case Overrides:
                result = isDumpOverride();
                break;
            case Pcos:
                result = dumpPcos;
                break;
            case ShadowModes:
                result = isDumpShadow();
                break;
            case Transforms:
                result = isDumpTransform();
                break;
            case UserData:
                result = isDumpUser();
                break;
            case VertexData:
                result = isDumpVertex();
                break;
            default:
                throw new IllegalArgumentException("dumpFlag = " + dumpFlag);
        }
        return result;
    }
public boolean isEnabled ( DumpFlags dumpFlag ) { boolean result ; switch ( dumpFlag ) { case BoundsInSpatials : result = isDumpBounds ( ) ; break ; case Buckets : result = isDumpBucket ( ) ; break ; case ChildShapes : result = dumpChildShapes ; break ; case ClustersInSofts : result = dumpClustersInSofts ; break ; case CullHints : result = isDumpCull ( ) ; break ; case Ignores : result = dumpIgnores ; break ; case JointsInBodies : result = dumpJointsInBodies ; break ; case JointsInSpaces : result = dumpJointsInSpaces ; break ; case MatParams : result = isDumpMatParam ( ) ; break ; case Motors : result = dumpMotors ; break ; case NativeIDs : result = dumpNativeIDs ; break ; case NodesInClusters : result = dumpNodesInClusters ; break ; case NodesInSofts : result = dumpNodesInSofts ; break ; case Overrides : result = isDumpOverride ( ) ; break ; case Pcos : result = dumpPcos ; break ; case ShadowModes : result = isDumpShadow ( ) ; break ; case Transforms : result = isDumpTransform ( ) ; break ; case UserData : result = isDumpUser ( ) ; break ; case VertexData : result = isDumpVertex ( ) ; break ; default : throw new IllegalArgumentException ( "dumpFlag = " + dumpFlag ) ; } return result ; }
Test whether the specified dump flag is set.
Test whether the specified dump flag is set .