980 |
hbox.add(iconLabel); |
hbox.add(iconLabel); |
981 |
hbox.add(Box.createHorizontalStrut(3)); |
hbox.add(Box.createHorizontalStrut(3)); |
982 |
|
|
|
// **************************************************************************** |
|
|
// The labeltext is read from the SLD. Its either the title |
|
|
// directly, or interpreted as OneLine Code |
|
|
// **************************************************************************** |
|
|
// final String rawText = |
|
|
// rule.getDescription().getTitle().toString(); |
|
|
final String rawText = rule.getDescription().getTitle() |
|
|
.toString(); |
|
|
|
|
983 |
Translation labelT = new Translation(); |
Translation labelT = new Translation(); |
984 |
labelT.fromOneLine(rawText); |
labelT.fromOneLine(rule.getDescription().getTitle()); |
985 |
|
|
986 |
final JLabel classTitleLabel = new JLabel(labelT.toString()); |
final JLabel classTitleLabel = new JLabel(labelT.toString()); |
987 |
hbox.add(classTitleLabel); |
hbox.add(classTitleLabel); |
1011 |
*/ |
*/ |
1012 |
ColorModel colorModel = null; |
ColorModel colorModel = null; |
1013 |
if (!isStyleable(styledRaster) |
if (!isStyleable(styledRaster) |
1014 |
|| (isStyleable(styledRaster) && styledRaster.getStyle() != null)) { |
|| (isStyleable(styledRaster) && styledRaster.getStyle() == null)) { |
1015 |
colorModel = getColorModel(styledRaster); |
colorModel = getColorModel(styledRaster); |
1016 |
} |
} |
1017 |
|
|