FileDocCategorySizeDatePackage
NativeSurface.javaAPI DocphoneME MR2 API (J2ME)1807Wed May 02 18:00:36 BST 2007com.sun.pisces

NativeSurface

public final class NativeSurface extends AbstractSurface

Fields Summary
Constructors Summary
public NativeSurface(int width, int height)

        this(TYPE_INT_ARGB, width, height);
    
public NativeSurface(int dataType, int width, int height)

        switch (dataType) {
            case TYPE_INT_RGB:
                break;
            case TYPE_INT_ARGB:
                break;
            default:
                throw new IllegalArgumentException("Data type not supported "
                        + " for " + NativeSurface.class.getName());
        }
    
        initialize(dataType, width, height);
    
Methods Summary
private native voidinitialize(int dataType, int width, int height)