public interface IGuiElementFactory
| Modifier and Type | Method and Description |
|---|---|
IGeneticAnalyzer |
createAnalyzer(IWindowElement window,
int xPos,
int yPos,
boolean rightBoarder,
IGeneticAnalyzerProvider provider) |
IGuiElement |
createFertilityInfo(IAlleleInteger fertilityAllele,
int texOffset) |
IElementLayout |
createHorizontal(int xPos,
int yPos,
int height) |
IGuiElement |
createMutation(int x,
int y,
int width,
int height,
IMutation mutation,
IAllele species,
IBreedingTracker breedingTracker) |
IGuiElement |
createMutationResultant(int x,
int y,
int width,
int height,
IMutation mutation,
IBreedingTracker breedingTracker) |
IElementGroup |
createPane(int xPos,
int yPos,
int width,
int height) |
IGuiElement |
createToleranceInfo(IAlleleTolerance toleranceAllele) |
IGuiElement |
createToleranceInfo(IAlleleTolerance toleranceAllele,
IAlleleSpecies species,
java.lang.String text) |
IElementLayout |
createVertical(int xPos,
int yPos,
int width) |
int |
getColorCoding(boolean dominant) |
ITextStyle |
getGuiStyle() |
ITextStyle |
getStateStyle(boolean dominant) |
IGeneticAnalyzer createAnalyzer(IWindowElement window, int xPos, int yPos, boolean rightBoarder, IGeneticAnalyzerProvider provider)
int getColorCoding(boolean dominant)
dominant - True if you want the dominant color and false if you want the recessive color.ITextStyle getStateStyle(boolean dominant)
ITextStyle getGuiStyle()
@Nullable IGuiElement createMutation(int x, int y, int width, int height, IMutation mutation, IAllele species, IBreedingTracker breedingTracker)
IMutation.isSecret()@Nullable IGuiElement createMutationResultant(int x, int y, int width, int height, IMutation mutation, IBreedingTracker breedingTracker)
IMutation.isSecret()IGuiElement createFertilityInfo(IAlleleInteger fertilityAllele, int texOffset)
IGuiElement createToleranceInfo(IAlleleTolerance toleranceAllele, IAlleleSpecies species, java.lang.String text)
IGuiElement createToleranceInfo(IAlleleTolerance toleranceAllele)
IElementLayout createHorizontal(int xPos, int yPos, int height)
IElementLayout createVertical(int xPos, int yPos, int width)
IElementGroup createPane(int xPos, int yPos, int width, int height)