Class GlcdDisplay


  • public class GlcdDisplay
    extends java.lang.Object
    Holds important meta data information of a Graphics display device
    Author:
    Rafael Ibasco
    • Method Detail

      • hasBusInterface

        public boolean hasBusInterface​(GlcdCommProtocol busInterface)
        Check if this display supports the provided bus interface
        Parameters:
        busInterface - The GlcdCommProtocol 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
      • 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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object