Package charva.awt

Examples of charva.awt.Color


     * @param toolkit
     */
    public void paintBorder(Component component_,
                            int graphics_, int x_, int y_, int width_, int height_, Toolkit toolkit) {

  Color background = component_.getBackground();
  if (_lineColor == null)
      _lineColor = component_.getForeground();

  int curses_colorpair = Color.getCursesColor(_lineColor, background);

View Full Code Here


  /* Now insert the title. The background color is obtained from
   * component_. If the titleColor has not been set explicitly,
   * the foreground color is also obtained from component_.
   */
  Color background = component_.getBackground();
  if (_titleColor == null)
      _titleColor = component_.getForeground();

  int colorpair = Color.getCursesColor(_titleColor, background);
  if (_title.length() != 0) {
View Full Code Here

TOP

Related Classes of charva.awt.Color

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.