se.umu.cs.tm11ajn.apjava.travelinfo.controller
public class TableActions extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) TravelInfoWindow |
tInfoWindow |
Constructor and Description |
---|
TableActions(TravelInfoWindow tInfoWindow) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
buildHTMLFormattedString(Offer offer)
Builds a html formatted string to be displayed in the text
pane from the input offer.
|
void |
tableSelectionAction(int rowIndex)
Action to perform when the table is selected, it displays
more information about the travel in another window.
|
TravelInfoWindow tInfoWindow
public TableActions(TravelInfoWindow tInfoWindow)
public void tableSelectionAction(int rowIndex)
rowIndex
- int: The selected row index.private java.lang.String buildHTMLFormattedString(Offer offer)
offer
- Offer: Offer to be read.