Xoetrope

 Wiki : XPrinterInfo

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Carousel logo

XPrinterInfo

class com.xoetrope.svg.XPrinterInfo

Used to display printer information in conjunction with the XInfoFileParser class and XStatusInfo interface.

PrinterInfo

1. Constructor


public XPrinterInfo()

Creates a new instance of XPrinterInfo.

2. Methods


1. set

public void set( XmlElement node )

Method implemented from the XHotSpotInfo interface which passes an XmlElement node, parsed during the XInfoFileParser's execution, from the xml file to this class.

2. getLabels

public ArrayList getLabels()

Returns the tab value of each child node to the user in an ArrayList.

3. getValues

public ArrayList getValues()

Returns the content value of each child node to the user.

4. setFontSize

public void setFontSize( int fontSize )

Sets the font size used within the printer info component.

5. paintComponent

public void paintComponent( Graphics g )

Paints the printer info window, which displays parsed printer info, in the parent component.

There are no comments on this page. [Add comment]

Page was generated in 0.2876 seconds