Revision 5655 org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.legend/org.gvsig.raster.lib.legend.api/src/main/java/org/gvsig/raster/lib/legend/api/RasterLegendManager.java

View differences:

RasterLegendManager.java
134 134
    /**
135 135
     * Creates an empty {@link ColorInterpretation}
136 136
     * 
137
     * @return New {@link ColorInterpretation} instance
138
     */
139
    public ColorInterpretation createColorInterpretation();
140

  
141
    /**
142
     * Creates an empty {@link ColorInterpretation}
143
     * 
144 137
     * @param coloInterpretations
145 138
     * 
146 139
     * @return New {@link ColorInterpretation} instance
......
157 150
     * @return Default {@link ColorInterpretation}
158 151
     */
159 152
    public ColorInterpretation createColorInterpretation(String definedColorInterpretation);
153

  
154
    /**
155
     * @return Returns an empty {@link Transparency}
156
     */
157
    public Transparency createTransparency();
158

  
159
    /**
160
     * Creates a new {@link Transparency} using transparency value and defined
161
     * {@link TransparencyRange}.
162
     * 
163
     * @param transparency
164
     *            Value of transparency
165
     * @param transparencyRanges
166
     *            List with {@link TransparencyRange} that define ranges of
167
     *            transparency by RGB values
168
     * @return New {@link Transparency} instance
169
     */
170
    public Transparency createTransparency(int transparency,
171
        List<TransparencyRange> transparencyRanges);
160 172
}

Also available in: Unified diff