
org.eclipse.swtchart.ITitle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rwtchart Show documentation
Show all versions of rwtchart Show documentation
NetXMS fork of SWT Chart Library for RWT
The newest version!
/*******************************************************************************
* Copyright (c) 2008, 2019 SWTChart project.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* yoshitaka - initial API and implementation
*******************************************************************************/
package org.eclipse.swtchart;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Font;
/**
* A title.
*/
public interface ITitle {
/**
* Sets the title text.
*
* @param title
* the title text
*/
public void setText(String title);
/**
* Gets the title text.
*
* @return the title text
*/
public String getText();
/**
* Sets the font for title text.
*
* @param font
* the font for title text
*/
public void setFont(Font font);
/**
* Gets the font for title text.
*
* @return the font size for title text
*/
public Font getFont();
/**
* Sets the foreground color of title.
*
* @param color
* the foreground color of title
*/
public void setForeground(Color color);
/**
* Gets the foreground color of title.
*
* @return the foreground color of title
*/
public Color getForeground();
/**
* Sets the visibility state of title.
*
* @param visible
* the visibility state
*/
void setVisible(boolean visible);
/**
* Gets the visibility state.
*
* @return true if title is visible
*/
boolean isVisible();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy