本文整理汇总了Java中com.jediterm.terminal.emulator.ColorPalette类的典型用法代码示例。如果您正苦于以下问题:Java ColorPalette类的具体用法?Java ColorPalette怎么用?Java ColorPalette使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ColorPalette类属于com.jediterm.terminal.emulator包,在下文中一共展示了ColorPalette类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: testMidnightCommanderOnXTerm
import com.jediterm.terminal.emulator.ColorPalette; //导入依赖的package包/类
public void testMidnightCommanderOnXTerm() throws IOException {
TerminalTextBuffer terminalTextBuffer = doTest();
assertColor(terminalTextBuffer.getStyleAt(8, 2), ColorPalette.getIndexedColor(3), ColorPalette.getIndexedColor(4));
assertColor(terminalTextBuffer.getStyleAt(23, 4), ColorPalette.getIndexedColor(7), ColorPalette.getIndexedColor(4));
assertColor(terminalTextBuffer.getStyleAt(2, 0), ColorPalette.getIndexedColor(0), ColorPalette.getIndexedColor(6));
}
示例2: getTerminalColorPalette
import com.jediterm.terminal.emulator.ColorPalette; //导入依赖的package包/类
@Override
public ColorPalette getTerminalColorPalette() {
return new JBTerminalSchemeColorPalette(myColorScheme);
}
示例3: getTerminalColorPalette
import com.jediterm.terminal.emulator.ColorPalette; //导入依赖的package包/类
@Override
public ColorPalette getTerminalColorPalette()
{
return new JBTerminalSchemeColorPalette(myColorScheme);
}
示例4: getPalette
import com.jediterm.terminal.emulator.ColorPalette; //导入依赖的package包/类
private ColorPalette getPalette() {
return mySettingsProvider.getTerminalColorPalette();
}
示例5: getTerminalColorPalette
import com.jediterm.terminal.emulator.ColorPalette; //导入依赖的package包/类
@Override
public ColorPalette getTerminalColorPalette() {
return UIUtil.isWindows ? ColorPalette.WINDOWS_PALETTE : ColorPalette.XTERM_PALETTE;
}
示例6: getTerminalColorPalette
import com.jediterm.terminal.emulator.ColorPalette; //导入依赖的package包/类
ColorPalette getTerminalColorPalette();