|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IGenerator | |
|---|---|
| com.github.cage | This is the main package of Cage, for usage example see
Cage or one of the predefined templates like
GCage or YCage. |
| com.github.cage.image | Classes in this package are responsible for the actual image generation, the
central class is Painter. |
| com.github.cage.token | Classes in this package are responsible for token generation, the
central class is RandomTokenGenerator. |
| Uses of IGenerator in com.github.cage |
|---|
| Subinterfaces of IGenerator in com.github.cage | |
|---|---|
interface |
IGeneratorFactory<T>
Factory creating IGenerators. |
| Classes in com.github.cage that implement IGenerator | |
|---|---|
class |
ObjectRoulette<T>
An IGenerator implementation that returns a randomly chosen element
from a predefined set of objects when ObjectRoulette.next() is called. |
| Methods in com.github.cage that return IGenerator | |
|---|---|
IGenerator<Font> |
Cage.getFonts()
|
IGenerator<Color> |
Cage.getForegrounds()
|
IGenerator<String> |
Cage.getTokenGenerator()
|
| Constructors in com.github.cage with parameters of type IGenerator | |
|---|---|
Cage(Painter painter,
IGenerator<Font> fonts,
IGenerator<Color> foregrounds,
String format,
Float compressRatio,
IGenerator<String> tokenGenerator,
Random rnd)
Constructor. |
|
Cage(Painter painter,
IGenerator<Font> fonts,
IGenerator<Color> foregrounds,
String format,
Float compressRatio,
IGenerator<String> tokenGenerator,
Random rnd)
Constructor. |
|
Cage(Painter painter,
IGenerator<Font> fonts,
IGenerator<Color> foregrounds,
String format,
Float compressRatio,
IGenerator<String> tokenGenerator,
Random rnd)
Constructor. |
|
| Uses of IGenerator in com.github.cage.image |
|---|
| Classes in com.github.cage.image that implement IGenerator | |
|---|---|
class |
ConstantColorGenerator
IGenerator implementation that returns always the same Color. |
class |
RgbColorGenerator
Random RGB Color object generator. |
| Uses of IGenerator in com.github.cage.token |
|---|
| Classes in com.github.cage.token that implement IGenerator | |
|---|---|
class |
RandomCharacterGeneratorFactory
Factory that can generate Character generating IGenerators. |
class |
RandomCharacterGeneratorFactory.RandomCharacterGenerator
Generates characters based on the settings of the factory. |
class |
RandomTokenGenerator
A simple random String generator that can be used to generate tokens for the captcha images. |
| Methods in com.github.cage.token that return IGenerator | |
|---|---|
IGenerator<Character> |
RandomCharacterGeneratorFactory.next()
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||