public interface WritingMode
| Modifier and Type | Method and Description |
|---|---|
AbsoluteAxis |
getAbsoluteAxis(RelativeAxis relativeAxis)
Converts a relative axis(block-progression or inline-progress) to an
absolute axis (horizontal or vertical) for this writing mode.
|
AbsoluteCompass |
getAbsoluteDirection(RelativeCompass relativeDir)
Given a relative direction, this method returns the corresponding
absolute direction in this writing mode.
|
AbsoluteDirection |
getAbsoluteDirFromRelativeAxis(RelativeAxis relativeAxis)
Given a relative axis, this method returns the related absolute
direction that applies to that axis.
|
AbsoluteCompass |
getAfter()
Tells which absolute direction is the "before" direction.
|
AbsoluteCompass |
getBefore()
Tells which absolute direction is the "before" direction.
|
RelativeCompass |
getBottom()
Tells which relative direction is the "bottom" direction.
|
AbsoluteAxis |
getBpAxis()
Tells which axis (horizontal or vertical) is the block-progression axis.
|
AbsoluteDirection |
getBpDirection()
Returns the block-progression-direction for this writing-mode.
|
Compass |
getCorresponding(Compass inputDirection)
If given a relative direction, this method returns the corresponding
absolute direction; if given an absolute direction, this method returns
the corresponding relative direction.
|
AbsoluteCompass |
getEnd()
Tells which absolute direction is the "end" direction.
|
RelativeAxis |
getHorizontalAxis()
Tells which axis (block-progression or inline-progression) is the
horizontal axis.
|
AbsoluteAxis |
getIpAxis()
Tells which axis (horizontal or vertical) is the inline-progression axis.
|
AbsoluteDirection |
getIpDirectionEven()
Returns the inline-progression-direction for even-numbered lines for this
writing-mode.
|
AbsoluteDirection |
getIpDirectionOdd()
Returns the inline-progression-direction for odd-numbered lines for this
writing-mode.
|
RelativeCompass |
getLeft()
Tells which relative direction is the "left" direction.
|
RelativeAxis |
getRelativeAxis(AbsoluteAxis absoluteAxis)
Converts an absolute axis(horizontal or vertical) to a relative axis
(inline-progression or block-progression) for this writing mode.
|
RelativeCompass |
getRelativeDirection(AbsoluteCompass absoluteDir)
Given an absolute direction, this method returns the corresponding
relative direction for this writing-mode.
|
RelativeCompass |
getRight()
Tells which relative direction is the "right" direction.
|
AbsoluteDirection |
getShiftEven()
Returns the shift-direction for even-numbered lines for this
writing-mode.
|
AbsoluteDirection |
getShiftOdd()
Returns the shift-direction for odd-numbered lines for this writing-mode.
|
AbsoluteCompass |
getStart()
Tells which absolute direction is the "start" direction.
|
RelativeCompass |
getTop()
Tells which relative direction is the "top" direction.
|
RelativeAxis |
getVerticalAxis()
Tells which axis (block-progression or inline-progression) is the
vertical axis.
|
boolean |
isPaired()
Indicates whether characters are written in pairs in this writing-mode.
|
AbsoluteDirection getBpDirection()
AbsoluteDirection.TOP_TO_BOTTOM,
AbsoluteDirection.BOTTOM_TO_TOP,
AbsoluteDirection.LEFT_TO_RIGHT, or
AbsoluteDirection.RIGHT_TO_LEFT.AbsoluteDirection getIpDirectionEven()
AbsoluteDirection.TOP_TO_BOTTOM,
AbsoluteDirection.BOTTOM_TO_TOP,
AbsoluteDirection.LEFT_TO_RIGHT, or
AbsoluteDirection.RIGHT_TO_LEFT.AbsoluteDirection getIpDirectionOdd()
AbsoluteDirection.TOP_TO_BOTTOM,
AbsoluteDirection.BOTTOM_TO_TOP,
AbsoluteDirection.LEFT_TO_RIGHT, or
AbsoluteDirection.RIGHT_TO_LEFT.boolean isPaired()
AbsoluteDirection getShiftEven()
AbsoluteDirection.TOP_TO_BOTTOM,
AbsoluteDirection.BOTTOM_TO_TOP,
AbsoluteDirection.LEFT_TO_RIGHT, or
AbsoluteDirection.RIGHT_TO_LEFT.AbsoluteDirection getShiftOdd()
AbsoluteDirection.TOP_TO_BOTTOM,
AbsoluteDirection.BOTTOM_TO_TOP,
AbsoluteDirection.LEFT_TO_RIGHT, or
AbsoluteDirection.RIGHT_TO_LEFT.RelativeAxis getHorizontalAxis()
RelativeAxis.BLOCK_PROGRESSION or
RelativeAxis.INLINE_PROGRESSION.RelativeAxis getVerticalAxis()
RelativeAxis.BLOCK_PROGRESSION or
RelativeAxis.INLINE_PROGRESSION.AbsoluteAxis getBpAxis()
AbsoluteAxis.HORIZONTAL or
AbsoluteAxis.VERTICAL.AbsoluteAxis getIpAxis()
AbsoluteAxis.HORIZONTAL or
AbsoluteAxis.VERTICAL.AbsoluteAxis getAbsoluteAxis(RelativeAxis relativeAxis)
relativeAxis - Either RelativeAxis.BLOCK_PROGRESSION or
RelativeAxis.INLINE_PROGRESSION.AbsoluteAxis.HORIZONTAL or
AbsoluteAxis.VERTICAL.RelativeAxis getRelativeAxis(AbsoluteAxis absoluteAxis)
absoluteAxis - Either AbsoluteAxis.HORIZONTAL or
AbsoluteAxis.VERTICAL.RelativeAxis.INLINE_PROGRESSION or
RelativeAxis.BLOCK_PROGRESSION.AbsoluteCompass getStart()
AbsoluteCompass.LEFT,
AbsoluteCompass.RIGHT, AbsoluteCompass.TOP, or
AbsoluteCompass.BOTTOM.AbsoluteCompass getEnd()
AbsoluteCompass.LEFT,
AbsoluteCompass.RIGHT, AbsoluteCompass.TOP, or
AbsoluteCompass.BOTTOM.
is invalid.AbsoluteCompass getBefore()
AbsoluteCompass.LEFT,
AbsoluteCompass.RIGHT, AbsoluteCompass.TOP, or
AbsoluteCompass.BOTTOM.AbsoluteCompass getAfter()
AbsoluteCompass.LEFT,
AbsoluteCompass.RIGHT, AbsoluteCompass.TOP, or
AbsoluteCompass.BOTTOM.RelativeCompass getLeft()
RelativeCompass.START,
RelativeCompass.END, RelativeCompass.BEFORE, or
RelativeCompass.AFTER.RelativeCompass getRight()
RelativeCompass.START,
RelativeCompass.END, RelativeCompass.BEFORE, or
RelativeCompass.AFTER.RelativeCompass getTop()
RelativeCompass.START,
RelativeCompass.END, RelativeCompass.BEFORE, or
RelativeCompass.AFTER.RelativeCompass getBottom()
RelativeCompass.START,
RelativeCompass.END, RelativeCompass.BEFORE, or
RelativeCompass.AFTER.AbsoluteCompass getAbsoluteDirection(RelativeCompass relativeDir)
relativeDir - One of RelativeCompass.START,
RelativeCompass.END, RelativeCompass.BEFORE,
or RelativeCompass.AFTER.AbsoluteCompass.LEFT, AbsoluteCompass.RIGHT, or
AbsoluteCompass.TOP, AbsoluteCompass.BOTTOM.AbsoluteDirection getAbsoluteDirFromRelativeAxis(RelativeAxis relativeAxis)
relativeAxis - One of RelativeAxis.BLOCK_PROGRESSION or
RelativeAxis.INLINE_PROGRESSION.AbsoluteDirection.TOP_TO_BOTTOM,
AbsoluteDirection.BOTTOM_TO_TOP,
AbsoluteDirection.LEFT_TO_RIGHT, or
AbsoluteDirection.RIGHT_TO_LEFT,
or -1 for invalid input or writing mode.RelativeCompass getRelativeDirection(AbsoluteCompass absoluteDir)
absoluteDir - One of AbsoluteCompass.LEFT,
AbsoluteCompass.RIGHT, AbsoluteCompass.TOP,
or AbsoluteCompass.BOTTOM.RelativeCompass.START, RelativeCompass.END,
RelativeCompass.BEFORE, or RelativeCompass.AFTER.Compass getCorresponding(Compass inputDirection)
inputDirection - Either a relative direction constant
(RelativeCompass.START, RelativeCompass.END,
RelativeCompass.BEFORE, or
RelativeCompass.AFTER), or an absolute direction constant
(AbsoluteCompass.LEFT, AbsoluteCompass.RIGHT,
AbsoluteCompass.TOP, AbsoluteCompass.BOTTOM) to
be converted.This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.