|
Game Control Plus
1.2.2
|
Public Member Functions | |
| int | getID () |
| String | getTextID () |
| String | getDesc () |
| boolean | isHorzAlign () |
| boolean | isVertAlign () |
| String | toString () |
Static Public Member Functions | |
| static MAlign | getFromID (int id) |
| static MAlign | getFromText (String text) |
Private Member Functions | |
| MAlign (int id, String text, String desc) | |
Private Attributes | |
| int | alignID |
| String | alignText |
| String | description |
This class provides an enumeration that is used to control the alignment of text and images.
|
private |
A private constructor to prevent alignments being create outside this class.
| id | |
| text | |
| desc |
| String org.gamecontrolplus.gui.MAlign.getDesc | ( | ) |
Get the description of this alignment
|
static |
Get an alignment based on its ID number.
| id | the id number for this alignment. |
|
static |
Get an alignment based on its alignment text.
| text | the alignment text. |
| int org.gamecontrolplus.gui.MAlign.getID | ( | ) |
Get the id number associated with this alignment
| String org.gamecontrolplus.gui.MAlign.getTextID | ( | ) |
Get the text ID associated with this alignment.
| boolean org.gamecontrolplus.gui.MAlign.isHorzAlign | ( | ) |
Is this a horizontal alignment constant?
| boolean org.gamecontrolplus.gui.MAlign.isVertAlign | ( | ) |
Is this a vertical alignment constant?
| String org.gamecontrolplus.gui.MAlign.toString | ( | ) |
Get the alignment text.