- java.lang.Object
-
- com.ibasco.ucgdisplay.drivers.glcd.GlcdDisplay
-
public class GlcdDisplay extends java.lang.Object
Holds important meta data information of a Graphics display device- Author:
- Rafael Ibasco
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
GlcdBufferLayout
getBufferType()
java.util.List<GlcdCommProtocol>
getBusInterfaces()
GlcdController
getController()
GlcdSize
getDisplaySize()
java.lang.String
getName()
GlcdSetupInfo[]
getSetupDetails()
boolean
hasBusInterface(GlcdCommProtocol busInterface)
Check if this display supports the provided bus interfaceint
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
hasBusInterface
public boolean hasBusInterface(GlcdCommProtocol busInterface)
Check if this display supports the provided bus interface- Parameters:
busInterface
- TheGlcdCommProtocol
to check- Returns:
True
if this display supports the provided bus interface
-
getBusInterfaces
public java.util.List<GlcdCommProtocol> getBusInterfaces()
- Returns:
- A list of supported bus interfaces of this display
-
getDisplaySize
public GlcdSize getDisplaySize()
- Returns:
- A
GlcdSize
containing information about the display's dimensions
-
getController
public GlcdController getController()
- Returns:
- A
GlcdController
describing the controller of this display
-
getName
public java.lang.String getName()
- Returns:
- Returns the name of the display (excluding controller name)
-
getBufferType
public GlcdBufferLayout getBufferType()
- Returns:
- Returns the buffer type/layout of the display
-
getSetupDetails
public GlcdSetupInfo[] getSetupDetails()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-