org.foray.mif
Class MifFrame

java.lang.Object
  extended by org.foray.mif.MifToken
      extended by org.foray.mif.MifFrame

public class MifFrame
extends MifToken

A MIF Frame.


Constructor Summary
MifFrame(int x, int y, int w, int h, int id)
          Constructor.
 
Method Summary
 void addContent(MifImportObject obj)
          Add a content item.
 int getID()
          Returns this frame's ID.
 String mifContent()
          Returns the content of this token as a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MifFrame

public MifFrame(int x,
                int y,
                int w,
                int h,
                int id)
Constructor.

Parameters:
x - The x coordinate, in points (??).
y - The y coordinate, in points (??).
w - The width, in points (??).
h - The height, in points (??).
id - The id for this frame.
Method Detail

addContent

public void addContent(MifImportObject obj)
Add a content item.

Parameters:
obj - The content item to add to this frame.

mifContent

public String mifContent()
Description copied from class: MifToken
Returns the content of this token as a String.

Returns:
The content of this token as a String.

getID

public int getID()
Returns this frame's ID.

Returns:
This frame's ID.


Copyright © 2017. All rights reserved.