|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ClientAnchor.AnchorType> org.apache.poi.ss.usermodel.ClientAnchor.AnchorType
public static enum ClientAnchor.AnchorType
Enum Constant Summary | |
---|---|
DONT_MOVE_AND_RESIZE
Do Not Move or Resize With Underlying Rows/Columns (3) |
|
DONT_MOVE_DO_RESIZE
Don't Move but do Resize With Anchor Cells (1) |
|
MOVE_AND_RESIZE
Move and Resize With Anchor Cells (0) |
|
MOVE_DONT_RESIZE
Move With Cells but Do Not Resize (2) |
Field Summary | |
---|---|
short |
value
|
Method Summary | |
---|---|
static ClientAnchor.AnchorType |
byId(int value)
return the AnchorType corresponding to the code |
static ClientAnchor.AnchorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ClientAnchor.AnchorType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ClientAnchor.AnchorType MOVE_AND_RESIZE
Specifies that the current drawing shall move and resize to maintain its row and column anchors (i.e. the object is anchored to the actual from and to row and column)
public static final ClientAnchor.AnchorType DONT_MOVE_DO_RESIZE
Specifies that the current drawing shall not move with its row and column, but should be resized. This option is not normally used, but is included for completeness.
Note: Excel has no setting for this combination, nor does the ECMA standard.
public static final ClientAnchor.AnchorType MOVE_DONT_RESIZE
Specifies that the current drawing shall move with its row and column (i.e. the object is anchored to the actual from row and column), but that the size shall remain absolute.
If additional rows/columns are added between the from and to locations of the drawing, the drawing shall move its to anchors as needed to maintain this same absolute size.
public static final ClientAnchor.AnchorType DONT_MOVE_AND_RESIZE
Specifies that the current start and end positions shall be maintained with respect to the distances from the absolute start point of the worksheet.
If additional rows/columns are added before the drawing, the drawing shall move its anchors as needed to maintain this same absolute position.
Field Detail |
---|
public final short value
Method Detail |
---|
public static ClientAnchor.AnchorType[] values()
for (ClientAnchor.AnchorType c : ClientAnchor.AnchorType.values()) System.out.println(c);
public static ClientAnchor.AnchorType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null@Internal public static ClientAnchor.AnchorType byId(int value)
value
- the anchor type code
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |