Revision 5988 org.gvsig.raster.multifile/trunk/org.gvsig.raster.multifile/org.gvsig.raster.multifile.app.multifileclient/src/main/java/org/gvsig/raster/multifile/app/panel/BandSelectorPanel.java
BandSelectorPanel.java | ||
---|---|---|
98 | 98 |
|
99 | 99 |
/** |
100 | 100 |
* This method initializes |
101 |
* @param type |
|
101 | 102 |
*/ |
102 | 103 |
public BandSelectorPanel(int type) { |
103 | 104 |
super(); |
... | ... | |
108 | 109 |
initialize(); |
109 | 110 |
} |
110 | 111 |
|
112 |
/** |
|
113 |
* @return AbstractBandSelectorListener |
|
114 |
*/ |
|
111 | 115 |
public AbstractBandSelectorListener getListener() { |
112 | 116 |
return panelListener; |
113 | 117 |
} |
114 | 118 |
|
115 | 119 |
/** |
116 | 120 |
* This method initializes this |
117 |
* |
|
118 |
* @return void |
|
119 | 121 |
*/ |
120 | 122 |
protected void initialize() { |
121 | 123 |
GridBagConstraints gbc = new GridBagConstraints(); |
... | ... | |
237 | 239 |
|
238 | 240 |
/** |
239 | 241 |
* A?ade la lista de georasterfiles a la tabla |
240 |
* |
|
241 |
* @param files |
|
242 |
* @param dstore |
|
242 | 243 |
* @throws NotInitializeException |
243 | 244 |
*/ |
244 | 245 |
public void addFiles(RasterDataStore dstore) throws NotInitializeException { |
... | ... | |
406 | 407 |
/** |
407 | 408 |
* Obtiene el n?mero de bandas de la lista |
408 | 409 |
* |
409 |
* @return |
|
410 |
* @return the number of bands
|
|
410 | 411 |
*/ |
411 | 412 |
public int getNBands() { |
412 | 413 |
return ((DefaultTableModel) getARGBTable().getModel()).getRowCount(); |
... | ... | |
416 | 417 |
* Obtiene el nombre de la banda de la posici?n i de la tabla |
417 | 418 |
* |
418 | 419 |
* @param i |
419 |
* @return |
|
420 |
* @return the band name
|
|
420 | 421 |
*/ |
421 | 422 |
public String getBandName(int i) { |
422 | 423 |
String s = (String) ((DefaultTableModel) getARGBTable().getModel()).getValueAt(i, 3); |
... | ... | |
504 | 505 |
return ColorInterpretation.UNDEF_BAND; |
505 | 506 |
} |
506 | 507 |
|
508 |
/** |
|
509 |
* @return the color interpretation |
|
510 |
*/ |
|
507 | 511 |
public ColorInterpretation getSelectedColorInterpretation() { |
508 | 512 |
try { |
509 | 513 |
String[] colorInter = new String[getARGBTable().getRowCount()]; |
... | ... | |
544 | 548 |
revalidate(); |
545 | 549 |
} |
546 | 550 |
|
551 |
/** |
|
552 |
* @return RasterDataStore |
|
553 |
*/ |
|
547 | 554 |
public RasterDataStore getResult() { |
548 | 555 |
return panelListener.getResult(); |
549 | 556 |
} |
... | ... | |
716 | 723 |
((BandSelectorPropertiesListener)panelListener).init(fLayer); |
717 | 724 |
} |
718 | 725 |
|
726 |
/** |
|
727 |
* @param e |
|
728 |
*/ |
|
719 | 729 |
public void componentHidden(ComponentEvent e) {} |
730 |
/** |
|
731 |
* @param e |
|
732 |
*/ |
|
720 | 733 |
public void componentShown(ComponentEvent e) {} |
734 |
/** |
|
735 |
* @param e |
|
736 |
*/ |
|
721 | 737 |
public void componentMoved(ComponentEvent e) {} |
722 | 738 |
|
723 | 739 |
|
Also available in: Unified diff