TextLCDPhidget.java
Go to the documentation of this file.
00001 
00002 /*
00003  * Copyright 2011 Phidgets Inc.  All rights reserved.
00004  */
00005 
00006 package com.phidgets;
00007 import java.util.Iterator;
00008 import java.util.LinkedList;
00009 import com.phidgets.event.*;
00019 public final class TextLCDPhidget extends Phidget
00020 {
00021         public TextLCDPhidget () throws PhidgetException
00022         {
00023                 super (create ());
00024         }
00025         private static native long create () throws PhidgetException;
00029         public static final int PHIDGET_TEXTLCD_SCREEN_NONE = 1;
00033         public static final int PHIDGET_TEXTLCD_SCREEN_1x8 = 2;
00037         public static final int PHIDGET_TEXTLCD_SCREEN_2x8 = 3;
00041         public static final int PHIDGET_TEXTLCD_SCREEN_1x16 = 4;
00045         public static final int PHIDGET_TEXTLCD_SCREEN_2x16 = 5;
00049         public static final int PHIDGET_TEXTLCD_SCREEN_4x16 = 6;
00053         public static final int PHIDGET_TEXTLCD_SCREEN_2x20 = 7;
00057         public static final int PHIDGET_TEXTLCD_SCREEN_4x20 = 8;
00061         public static final int PHIDGET_TEXTLCD_SCREEN_2x24 = 9;
00065         public static final int PHIDGET_TEXTLCD_SCREEN_1x40 = 10;
00069         public static final int PHIDGET_TEXTLCD_SCREEN_2x40 = 11;
00073         public static final int PHIDGET_TEXTLCD_SCREEN_4x40 = 12;
00077         public static final int PHIDGET_TEXTLCD_SCREEN_UNKNOWN = 13;
00084         public native int getRowCount () throws PhidgetException;
00092         public native int getColumnCount () throws PhidgetException;
00099         public native int getScreenCount () throws PhidgetException;
00106         public native int getScreen () throws PhidgetException;
00115         public native void setScreen (int screen) throws PhidgetException;
00116 
00136         public native int getScreenSize () throws PhidgetException;
00155         public native void setScreenSize (int screenSize) throws PhidgetException;
00162         public native int getContrast () throws PhidgetException;
00170         public native void setContrast (int contrast) throws PhidgetException;
00177         public native int getBrightness () throws PhidgetException;
00185         public native void setBrightness (int brightness) throws PhidgetException;
00193         public native boolean getBacklight () throws PhidgetException;
00201         public native void setBacklight (boolean backlight) throws PhidgetException;
00210         public native boolean getCursor () throws PhidgetException;
00219         public native void setCursor (boolean cursor) throws PhidgetException;
00228         public native boolean getCursorBlink () throws PhidgetException;
00237         public native void setCursorBlink (boolean cursorblink) throws PhidgetException;
00245         public native void setDisplayString (int index, String text) throws PhidgetException;
00254         public native void setDisplayCharacter (int row, int column, char character) throws PhidgetException;
00266         public native void setCustomCharacter (int index, int param1, int param2) throws PhidgetException;
00274         public native void initialize () throws PhidgetException;
00275         private final void enableDeviceSpecificEvents (boolean b)
00276         {
00277         }
00278 }


pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:21