package com.softwarepearls.lego.hardware.tinkerforge.interfaces.displays;

import com.softwarepearls.lego.hardware.tinkerforge.interfaces.Device;
import com.tinkerforge.TinkerforgeException;

import java.awt.Dimension;
import java.awt.Point;

public interface LCDCharacterDisplay extends Device {

	void backlightOn() throws TinkerforgeException;

	void backlightOff() throws TinkerforgeException;

	void home();

	void setCursor(int x, int y);

	Point getCursor();

	void clearDisplay() throws TinkerforgeException;

	void fill(char fillChar) throws TinkerforgeException;

	void print(char aChar) throws TinkerforgeException;

	void print(char aChar, int x, int y) throws TinkerforgeException;

	void println(String string) throws TinkerforgeException;

	void println(String string, int x, int y) throws TinkerforgeException;

	void print(String string, int x, int y) throws TinkerforgeException;

	char getChar(int x, int y);

	String getLine(int lineNumber);

	Dimension getDimension();

}
