Class ACLPerformativesRenderer

    • Constructor Detail

      • ACLPerformativesRenderer

        public ACLPerformativesRenderer()
        Constructor for the ACLPerformativesRenderer object
    • Method Detail

      • determineColor

        public static Color determineColor​(String performative)
        Determine color of a peformative
        Parameters:
        performative - the performative
        Returns:
        the choosen Color
      • getListCellRendererComponent

        public Component getListCellRendererComponent​(JList list,
                                                      Object value,
                                                      int index,
                                                      boolean isSelected,
                                                      boolean cellHasFocus)
        Gets the ListCellRendererComponent attribute of the ACLPerformativesRenderer object
        Specified by:
        getListCellRendererComponent in interface ListCellRenderer
        Parameters:
        list - Description of Parameter
        value - Description of Parameter
        index - Description of Parameter
        isSelected - Description of Parameter
        cellHasFocus - Description of Parameter
        Returns:
        The ListCellRendererComponent value