Interface Grid
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
GridImpl
The Interface Grid.
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the color.doubleGets the horizontal division.intGets the horizontal subdivisions.doubleGets the vertical division.intGets the vertical subdivisions.voidSets the color.voidsetHorizontalDivision(double horizontalDivision) Sets the horizontal division.voidsetHorizontalSubdivisions(int horizontalSubdivisions) Sets the horizontal subdivisions.voidsetVerticalDivision(double verticalDivision) Sets the vertical division.voidsetVerticalSubdivisions(int verticalSubdivisions) Sets the vertical subdivisions.
-
Method Details
-
getHorizontalDivision
double getHorizontalDivision()Gets the horizontal division.- Returns:
- the horizontal division
-
setHorizontalDivision
void setHorizontalDivision(double horizontalDivision) Sets the horizontal division.- Parameters:
horizontalDivision- the new horizontal division
-
getVerticalDivision
double getVerticalDivision()Gets the vertical division.- Returns:
- the vertical division
-
setVerticalDivision
void setVerticalDivision(double verticalDivision) Sets the vertical division.- Parameters:
verticalDivision- the new vertical division
-
getHorizontalSubdivisions
int getHorizontalSubdivisions()Gets the horizontal subdivisions.- Returns:
- the horizontal subdivisions
-
setHorizontalSubdivisions
void setHorizontalSubdivisions(int horizontalSubdivisions) Sets the horizontal subdivisions.- Parameters:
horizontalSubdivisions- the new horizontal subdivisions
-
getVerticalSubdivisions
int getVerticalSubdivisions()Gets the vertical subdivisions.- Returns:
- the vertical subdivisions
-
setVerticalSubdivisions
void setVerticalSubdivisions(int verticalSubdivisions) Sets the vertical subdivisions.- Parameters:
verticalSubdivisions- the new vertical subdivisions
-
getColor
String getColor()Gets the color.- Returns:
- the color
-
setColor
Sets the color.- Parameters:
color- the new color
-