java.lang.Object
org.springframework.shell.test.jediterm.terminal.emulator.charset.GraphicSet

public class GraphicSet extends Object
Denotes how a graphic set is designated.
  • Constructor Details

    • GraphicSet

      public GraphicSet(int index)
  • Method Details

    • getDesignation

      public CharacterSet getDesignation()
      Returns:
      the designation of this graphic set.
    • getIndex

      public int getIndex()
      Returns:
      the index of this graphics set.
    • map

      public int map(char original, int index)
      Maps a given character index to a concrete character.
      Parameters:
      original - the original character to map;
      index - the index of the character to map.
      Returns:
      the mapped character, or the given original if no mapping could be made.
    • setDesignation

      public void setDesignation(CharacterSet designation)
      Sets the designation of this graphic set.