261,8 → 261,10 |
public void toggleModeTriPublication() { |
if (triCourantDatePublication == ModeTri.TRI_ASCENDANT) { |
triCourantDatePublication = ModeTri.TRI_DESCENDANT; |
} else if(triCourantDatePublication == ModeTri.TRI_DESCENDANT) { |
triCourantDatePublication = ModeTri.TRI_ASCENDANT; |
} else { |
triCourantDatePublication = ModeTri.TRI_ASCENDANT; |
triCourantDatePublication = ModeTri.TRI_DESCENDANT; |
} |
|
triCourantDateObservation = ModeTri.PAS_DE_TRI; |
277,8 → 279,10 |
public void toggleModeTriObservation() { |
if (triCourantDateObservation == ModeTri.TRI_ASCENDANT) { |
triCourantDateObservation = ModeTri.TRI_DESCENDANT; |
} else if(triCourantDateObservation == ModeTri.TRI_DESCENDANT) { |
triCourantDateObservation = ModeTri.TRI_ASCENDANT; |
} else { |
triCourantDateObservation = ModeTri.TRI_ASCENDANT; |
triCourantDateObservation = ModeTri.TRI_DESCENDANT; |
} |
|
triCourantDatePublication = ModeTri.PAS_DE_TRI; |
293,12 → 297,12 |
public void toggleModeTriNbCommentaires() { |
if (triCourantNbCommentaires == ModeTri.TRI_ASCENDANT) { |
triCourantNbCommentaires = ModeTri.TRI_DESCENDANT; |
} else if(triCourantNbCommentaires == ModeTri.TRI_DESCENDANT) { |
triCourantNbCommentaires = ModeTri.TRI_ASCENDANT; |
} else { |
triCourantNbCommentaires = ModeTri.TRI_ASCENDANT; |
triCourantNbCommentaires = ModeTri.TRI_DESCENDANT; |
} |
|
System.out.println(triCourantNbCommentaires); |
|
triCourantDateObservation = ModeTri.PAS_DE_TRI; |
triCourantDatePublication = ModeTri.PAS_DE_TRI; |
|