Class GraphicSet
java.lang.Object
org.springframework.shell.test.jediterm.terminal.emulator.charset.GraphicSet
Denotes how a graphic set is designated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
int
map
(char original, int index) Maps a given character index to a concrete character.void
setDesignation
(CharacterSet designation) Sets the designation of this graphic set.
-
Constructor Details
-
GraphicSet
public GraphicSet(int index)
-
-
Method Details
-
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
Sets the designation of this graphic set.
-