下面列出了java.awt.Container#setFont ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
/**
* For title font
*
* @param container
* element to change the font of
*/
public static void title(Container container)
{
container.setFont(title(container.getFont()));
}
/**
* For extra large font.
*
* @param container
* element to change the font of
*/
public static void xxlarge(Container container)
{
Font font = container.getFont();
container.setFont(xxlarge(font));
}
/**
* For large font.
*
* @param container
* element to change the font of
*/
public static void large(Container container)
{
Font font = container.getFont();
container.setFont(large(font));
}
/**
* Change font of container for a bit smaller font.
*
* @param container
* element to change font size of
*/
public static void small(Container container)
{
Font font = container.getFont();
container.setFont(small(font));
}
/**
* For extra smaller font.
*
* @param container
* element to change the font of
*/
public static void xsmall(Container container)
{
Font font = container.getFont();
container.setFont(xsmall(font));
}
/**
* For title font
*
* @param container
* element to change the font of
*/
public static void title(Container container)
{
container.setFont(title(container.getFont()));
}
/**
* For extra large font.
*
* @param container
* element to change the font of
*/
public static void xxlarge(Container container)
{
Font font = container.getFont();
container.setFont(xxlarge(font));
}
/**
* For large font.
*
* @param container
* element to change the font of
*/
public static void large(Container container)
{
Font font = container.getFont();
container.setFont(large(font));
}
/**
* Change font of container for a bit smaller font.
*
* @param container
* element to change font size of
*/
public static void small(Container container)
{
Font font = container.getFont();
container.setFont(small(font));
}
/**
* For extra smaller font.
*
* @param container
* element to change the font of
*/
public static void xsmall(Container container)
{
Font font = container.getFont();
container.setFont(xsmall(font));
}