org.rubato.composer.notes
Class NoteModel
java.lang.Object
org.rubato.composer.notes.NoteModel
public class NoteModel
- extends java.lang.Object
Constructor Summary |
NoteModel(int x,
int y,
int w,
int h,
java.lang.String title,
java.lang.String text,
int fg,
int bg)
|
NoteModel(JNote jnote,
java.lang.String title,
java.lang.String text)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoteModel
public NoteModel(JNote jnote,
java.lang.String title,
java.lang.String text)
NoteModel
public NoteModel(int x,
int y,
int w,
int h,
java.lang.String title,
java.lang.String text,
int fg,
int bg)
setJNote
public void setJNote(JNote jnote)
getX
public int getX()
getY
public int getY()
getSize
public java.awt.Dimension getSize()
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String s)
getText
public java.lang.String getText()
setText
public void setText(java.lang.String s)
getFg
public int getFg()
getBg
public int getBg()
createJNote
public JNote createJNote()
toXML
public void toXML(XMLWriter writer)
fromXML
public static NoteModel fromXML(XMLReader reader,
org.w3c.dom.Element noteElement)
newInstance
public NoteModel newInstance()