public class LedgerManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
GuiForestry |
gui |
| Constructor and Description |
|---|
LedgerManager(GuiForestry gui) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(IErrorSource errorSource) |
void |
add(Ledger ledger) |
void |
clear() |
void |
drawLedgers() |
void |
drawTooltips(int mouseX,
int mouseY) |
java.util.List<java.awt.Rectangle> |
getLedgerAreas() |
int |
getMaxWidth() |
void |
handleMouseClicked(int x,
int y,
int mouseButton) |
boolean |
hasOpenedLedger() |
void |
insert(Ledger ledger)
Inserts a ledger into the next-to-last position.
|
void |
onGuiClosed() |
void |
setMaxWidth(int maxWidth) |
public final GuiForestry gui
public LedgerManager(GuiForestry gui)
public void setMaxWidth(int maxWidth)
public void add(IErrorSource errorSource)
public void clear()
public void add(Ledger ledger)
public void onGuiClosed()
public void insert(Ledger ledger)
public java.util.List<java.awt.Rectangle> getLedgerAreas()
public void drawLedgers()
public void drawTooltips(int mouseX,
int mouseY)
public void handleMouseClicked(int x,
int y,
int mouseButton)
public boolean hasOpenedLedger()
public int getMaxWidth()