ProtectionType

Inheritance: java.lang.Object

public final class ProtectionType

Represents workbook/worksheet protection type.

Fields

FieldDescription
ALLRepresents to protect all.
CONTENTSRepresents to protect contents, used in Worksheet protection.
NONERepresents no protection.
OBJECTSRepresents to protect objects, used in Worksheet protection.
SCENARIOSRepresents to protect scenarios, used in Worksheet protection.
STRUCTURERepresents to protect structure, used in Workbook protection.
WINDOWSRepresents to protect window, used in Workbook protection.

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ALL

public static final int ALL

Represents to protect all.

CONTENTS

public static final int CONTENTS

Represents to protect contents, used in Worksheet protection.

NONE

public static final int NONE

Represents no protection. Only for Reading property.

OBJECTS

public static final int OBJECTS

Represents to protect objects, used in Worksheet protection.

SCENARIOS

public static final int SCENARIOS

Represents to protect scenarios, used in Worksheet protection.

STRUCTURE

public static final int STRUCTURE

Represents to protect structure, used in Workbook protection.

WINDOWS

public static final int WINDOWS

Represents to protect window, used in Workbook protection.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int