org.graffiti.plugin.view
Annotation Type GridParameter


@Documented
@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface GridParameter

GridParameter is annotated to public fields of classes implementing Grid in order to indicate grid parameters.

Version:
$Revision$ $Date$
Author:
Andreas Gleißner
See Also:
GridParametersAttribute

Optional Element Summary
 double max
          Maximum value of the annotated paramater.
 double min
          Minimum value of the annotated parameter.
 double sliderMax
          Maximum value for slider components editing the annotated parameter.
 double sliderMin
          Minimum value for slider components editing the annotated parameter.
 

min

public abstract double min
Minimum value of the annotated parameter.

Returns:
the minimum value of the annotated parameter.
Default:
-1d/0d

max

public abstract double max
Maximum value of the annotated paramater.

Returns:
the maximum value of the annotated paramater.
Default:
1d/0d

sliderMin

public abstract double sliderMin
Minimum value for slider components editing the annotated parameter.

Returns:
the minimum value for slider components editing the annotated parameter.
See Also:
JSlider.JSlider(int, int)
Default:
0.0

sliderMax

public abstract double sliderMax
Maximum value for slider components editing the annotated parameter.

Returns:
the maximum value for slider components editing the annotated parameter.
See Also:
JSlider.JSlider(int, int)
Default:
100.0


Generated at 2012-05-30 11:00:36 PM CEST