/** * Gets the {@link FontModifier} which is currently represented by this {@link DockFont}. * @return the modifier, can be <code>null</code> */ public FontModifier font(){ return value(); }
/** * Gets the {@link FontModifier} which is currently represented by this {@link DockFont}. * @return the modifier, can be <code>null</code> */ public FontModifier font(){ return value(); }
/** * Gets a modified version of <code>font</code> * @param font some font to modify * @return the font that should be used, can be <code>null</code> */ public Font font( Font font ){ FontModifier modifier = value(); if( modifier == null ) return null; return modifier.modify( font ); } }
/** * Gets a modified version of <code>font</code> * @param font some font to modify * @return the font that should be used, can be <code>null</code> */ public Font font( Font font ){ FontModifier modifier = value(); if( modifier == null ) return null; return modifier.modify( font ); } }