public void parseProperty( final Property prop ) { if ( prop.getRef().equals( FONT_REF ) ) { setFontName( prop.getValue().trim() );
private final void init() { setFontName( null ); setFontStyle( FontType.PLAIN ); setFontSize( DEFAULT_FONT_SIZE ); setFontColor( null ); setShape( NodeShape.DEFAULT ); setFillType( NodeFill.DEFAULT ); setNodeColor( null ); setSize( DEFAULT_SIZE ); setTransparency( DEFAULT_TRANSPARENCY ); _font = null; }
vd.setFontName( ff.getFamily().trim() ); int s = ff.getSize(); if ( s < 0 ) {
public NodeVisualData( final String font_name, final FontType font_style, final byte font_size, final Color font_color, final NodeShape shape, final NodeFill fill_type, final Color node_color, final float size, final float transparency ) { setFontName( font_name ); setFontStyle( font_style ); setFontSize( font_size ); setFontColor( font_color ); setShape( shape ); setFillType( fill_type ); setNodeColor( node_color ); setSize( size ); setTransparency( transparency ); }