OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Compare Revisions

Regard whitespace Rev 167 → Rev 168

/trunk/jOpenCalendar/src/org/jopencalendar/ui/MultipleDayView.java
29,9 → 29,9
 
public abstract class MultipleDayView extends JPanel implements Scrollable {
public static final String CALENDARD_ITEMS_PROPERTY = "calendard_items_changed";
public final static Color WHITE_TRANSPARENCY_COLOR = new Color(255, 255, 255, 180);
public static final Color WHITE_TRANSPARENCY_COLOR = new Color(255, 255, 255, 180);
public static final Color LIGHT_BLUE = new Color(202, 212, 220);
public final static Color LIGHT = new Color(222, 222, 222);
public static final Color LIGHT = new Color(222, 222, 222);
public static final int TITLE_HEIGHT = 20;
public static final int HOURS_LABEL_WIDTH = 50;
 
391,9 → 391,7
}
 
public int getColumnWidth(int column) {
final int c = (this.getWidth() - HOURS_LABEL_WIDTH) / getColumnCount();
 
return c;
return (this.getWidth() - HOURS_LABEL_WIDTH) / getColumnCount();
}
 
public int getColumnX(int column) {
538,7 → 536,7
}
 
public final void setRowHeight(final int v) {
if (this.rowHeight != v && v < 200 && v > 20) {
if (this.rowHeight != v && v > 20 && v < 250) {
this.rowHeight = v;
// update size
final int w = this.getSize().width;
585,11 → 583,11
this.hListeners.remove(l);
}
 
abstract public String getColumnTitle(int index);
public abstract String getColumnTitle(int index);
 
abstract public int getColumnCount();
public abstract int getColumnCount();
 
abstract public void reload();
public abstract void reload();
 
public void deselectAll() {
for (ItemPartView p : selectedItems) {