1 package org.columba.mail.gui.table; 17 18 import java.util.Observable ; 19 20 29 public class SortingStateObservable extends Observable { 30 private String column; 31 32 private boolean order; 33 34 37 public SortingStateObservable() { 38 super(); 39 } 40 41 44 public String getColumn() { 45 return column; 46 } 47 48 51 public boolean isOrder() { 52 return order; 53 } 54 55 58 public void setSortingState(String string, boolean order) { 59 column = string; 60 this.order = order; 61 62 setChanged(); 63 64 notifyObservers(); 65 } 66 } | Popular Tags |