Package com.independentsoft.office.vml
Class Anchor
java.lang.Object
com.independentsoft.office.vml.Anchor
The Class Anchor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the bottom offset.intGets the bottom row.intGets the left column.intGets the left offset.intGets the right column.intGets the right offset.intGets the top offset.intGets the top row.voidsetBottomOffset(int bottomOffset)Sets the bottom offset.voidsetBottomRow(int bottomRow)Sets the bottom row.voidsetLeftColumn(int leftColumn)Sets the left column.voidsetLeftOffset(int leftOffset)Sets the left offset.voidsetRightColumn(int rightColumn)Sets the right column.voidsetRightOffset(int rightOffset)Sets the right offset.voidsetTopOffset(int topOffset)Sets the top offset.voidsetTopRow(int topRow)Sets the top row.toString()
-
Constructor Details
-
Anchor
public Anchor()Instantiates a new anchor. -
Anchor
public Anchor(int leftColumn, int leftOffset, int topRow, int topOffset, int rightColumn, int rightOffset, int bottomRow, int bottomOffset)Instantiates a new anchor.- Parameters:
leftColumn- the left columnleftOffset- the left offsettopRow- the top rowtopOffset- the top offsetrightColumn- the right columnrightOffset- the right offsetbottomRow- the bottom rowbottomOffset- the bottom offset
-
-
Method Details
-
clone
-
toString
-
getLeftColumn
public int getLeftColumn()Gets the left column.- Returns:
- the left column
-
setLeftColumn
public void setLeftColumn(int leftColumn)Sets the left column.- Parameters:
leftColumn- the new left column
-
getLeftOffset
public int getLeftOffset()Gets the left offset.- Returns:
- the left offset
-
setLeftOffset
public void setLeftOffset(int leftOffset)Sets the left offset.- Parameters:
leftOffset- the new left offset
-
getTopRow
public int getTopRow()Gets the top row.- Returns:
- the top row
-
setTopRow
public void setTopRow(int topRow)Sets the top row.- Parameters:
topRow- the new top row
-
getTopOffset
public int getTopOffset()Gets the top offset.- Returns:
- the top offset
-
setTopOffset
public void setTopOffset(int topOffset)Sets the top offset.- Parameters:
topOffset- the new top offset
-
getRightColumn
public int getRightColumn()Gets the right column.- Returns:
- the right column
-
setRightColumn
public void setRightColumn(int rightColumn)Sets the right column.- Parameters:
rightColumn- the new right column
-
getRightOffset
public int getRightOffset()Gets the right offset.- Returns:
- the right offset
-
setRightOffset
public void setRightOffset(int rightOffset)Sets the right offset.- Parameters:
rightOffset- the new right offset
-
getBottomRow
public int getBottomRow()Gets the bottom row.- Returns:
- the bottom row
-
setBottomRow
public void setBottomRow(int bottomRow)Sets the bottom row.- Parameters:
bottomRow- the new bottom row
-
getBottomOffset
public int getBottomOffset()Gets the bottom offset.- Returns:
- the bottom offset
-
setBottomOffset
public void setBottomOffset(int bottomOffset)Sets the bottom offset.- Parameters:
bottomOffset- the new bottom offset
-