|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cycling74.max.MaxWindow
public class MaxWindow
MaxWindow
is a reference to the window containing a patcher.
This can be used in conjunction with MaxPatcher
and MaxBox
to dynamically modify and create patchers on the fly. The interface exposed is
very similar to the functionality exposed by the js javascript external and thus
much of that documentation for that external is applicable well. There is no public
constructor for MaxWindow. MaxWindows created / gotten via the MaxPatcher
class.
created on 22-Jun-2004
Constructor Summary | |
---|---|
protected |
MaxWindow(long p_wind)
|
Method Summary | |
---|---|
void |
close()
close the window. |
boolean |
equals(java.lang.Object o)
|
int[] |
getLocation()
|
MaxPatcher |
getPatcher()
|
java.lang.String |
getPatcherClass()
|
int[] |
getSize()
|
java.lang.String |
getTitle()
Get the title of the window as displayed in the title bar. |
boolean |
hasClose()
|
boolean |
hasGrow()
|
int |
hashCode()
|
boolean |
hasHorizontalScroll()
|
boolean |
hasTitleBar()
|
boolean |
hasVerticalScroll()
|
boolean |
hasZoom()
|
boolean |
isDirty()
|
boolean |
isVisible()
|
void |
setClose(boolean hasclose)
Set whether or not the window has a close widget |
void |
setDirty(boolean isdirty)
Set whether or not this window and its patcher should be treated as dirty. |
void |
setFloat(boolean floating)
Set whether or not the window is "floating" |
void |
setGrow(boolean hasgrow)
Set whether or not the window has a grow widget |
void |
setLocation(int x1,
int y1,
int x2,
int y2)
Set the bounding rect of the window. |
void |
setSize(int width,
int height)
Set the size of the window |
void |
setTitle(java.lang.String title)
Set the title of the window in the title bar. |
void |
setTitleBar(boolean hastitlebar)
Set whether or not the window has a titlebar |
void |
setVisible(boolean b)
Set whether or not the window is visible |
void |
setZoom(boolean haszoom)
Set whether or not the window has a zoom widget |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MaxWindow(long p_wind)
Method Detail |
---|
public boolean isVisible()
public void setVisible(boolean b)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public boolean hasHorizontalScroll()
public boolean hasVerticalScroll()
public boolean hasZoom()
public boolean hasTitleBar()
public boolean hasClose()
public boolean hasGrow()
public int[] getSize()
public void setSize(int width, int height)
public int[] getLocation()
public void setLocation(int x1, int y1, int x2, int y2)
public MaxPatcher getPatcher()
MaxPatcher
object for which this window is a host.public java.lang.String getPatcherClass()
public boolean isDirty()
public void setDirty(boolean isdirty)
public void setZoom(boolean haszoom)
public void setTitleBar(boolean hastitlebar)
public void setClose(boolean hasclose)
public void setGrow(boolean hasgrow)
public void setFloat(boolean floating)
public void close()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |