org.jclarion.clarion
Class ClarionApplication

java.lang.Object
  extended by org.jclarion.clarion.PropertyObject
      extended by org.jclarion.clarion.AbstractTarget
          extended by org.jclarion.clarion.AbstractWindowTarget
              extended by org.jclarion.clarion.ClarionWindow
                  extended by org.jclarion.clarion.ClarionApplication
All Implemented Interfaces:
AbstractAWTPropertyGetter

public class ClarionApplication
extends ClarionWindow

Model application window

Author:
barney

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jclarion.clarion.AbstractWindowTarget
AbstractWindowTarget.StatusBar
 
Field Summary
 
Fields inherited from class org.jclarion.clarion.AbstractWindowTarget
suppressWindowSizingEvents
 
Constructor Summary
ClarionApplication()
           
 
Method Summary
 void clearMetaData()
           
 javax.swing.JDesktopPane getDesktopPane()
           
 ClarionApplication setAt(java.lang.Integer x, java.lang.Integer y, java.lang.Integer width, java.lang.Integer height)
          Set window position/dimenstions
 void setDesktopPane(javax.swing.JDesktopPane desktopPane)
           
 ClarionApplication setHVScroll()
          Allow window to be scrolled
 ClarionApplication setIcon(java.lang.String aString)
          set window icon
 ClarionApplication setImmediate()
          If set then following events will be generated Move - window moved Size - window sized restore - window restored maximise - window maximised iconize - window iconized
 ClarionApplication setMax()
          Display button (on top right) that allows window to be maximised.
 ClarionApplication setResize()
          Indicate that window is resizable
 ClarionApplication setStatus(int... bars)
          Define status bars for the window on bottom of window
 ClarionApplication setSystem()
          Allow rendering of window system menu.
 ClarionApplication setText(java.lang.String aString)
          Set window text
 
Methods inherited from class org.jclarion.clarion.ClarionWindow
canNotifyLocalChange, close, getAWTProperty, getLocalProperty, notifyLocalChange, open, open, setAlrt, setCenter, setCentered, setColor, setDouble, setFont, setGray, setHelp, setMask, setMaximize, setMDI, setModal, setNoFrame, setTiled, setTimer, setToolbox, setVScroll
 
Methods inherited from class org.jclarion.clarion.AbstractWindowTarget
accept, add, addAcceptTask, addAcceptTask, addAlert, clearAlerts, clearAllEvents, consumeAccept, consumePendingEvent, debugMetaData, deregisterEvent, doSetStatus, getAcceptAllIterator, getAcceptedEvent, getActiveState, getAlerts, getAnonymousTasks, getClarionThread, getContentPane, getCurrentFocus, getEvents, getFontHeight, getFontWidth, getHoldingFrame, getInitialSelectControl, getInsets, getKeyChar, getKeyCode, getKeyedTasks, getKeyState, getMnemonic, getMnemonicConfig, getNextEvent, getOpenMonitor, getPendingEvent, getProperty, getRefocus, getRegisteredEvents, getRootPane, getShadow, getStatus, getStatus, getStatusPane, getWindow, hasTasksPending, heightDialogToPixels, heightPixelsToDialog, isAcceptAll, isActive, isAlertKey, isPurgable, isSettable, isSuppressWindowSizingEvents, noteFullRepaint, post, post, post, purgeEvents, registerEvent, runAcceptTasks, setAcceptAll, setAcceptAllIterator, setAcceptedEvent, setActive, setActiveState, setAlerts, setAnonymousTasks, setClarionThread, setContentPane, setCurrentFocus, setEvents, setFontDimensions, setFontHeight, setFontWidth, setHoldingFrame, setInitialSelectControl, setInsets, setKeyChar, setKeyCode, setKeyedTasks, setKeyState, setMnemonicConfig, setOpenMonitor, setProperty, setRefocus, setRegisteredEvents, setRootPane, setShadow, setStatusPane, setSuppressWindowSizingEvents, setWindow, toString, waitForActiveState, waitForEvent, waitForSpecificEvent, widthDialogToPixels, widthPixelsToDialog
 
Methods inherited from class org.jclarion.clarion.AbstractTarget
getControl, getControl, getControls, getLastID, getParentPropertyObject, register, register, register, remove
 
Methods inherited from class org.jclarion.clarion.PropertyObject
addListener, debugMetaData, getDebugMetaData, getDebugMetaData, getId, getInheritedProperty, getProperty, getProperty, getProperty, getPropertyOrDefault, getRawProperty, getRawProperty, getSetProperties, isProperty, reMap, removeAllListeners, removeListener, setClonedProperty, setClonedProperty, setClonedProperty, setClonedProperty, setClonedProperty, setId, setProperty, setProperty, setProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClarionApplication

public ClarionApplication()
Method Detail

setAt

public ClarionApplication setAt(java.lang.Integer x,
                                java.lang.Integer y,
                                java.lang.Integer width,
                                java.lang.Integer height)
Set window position/dimenstions

Overrides:
setAt in class ClarionWindow
Parameters:
x -
w -
width -
height -
Returns:

setResize

public ClarionApplication setResize()
Indicate that window is resizable

Overrides:
setResize in class ClarionWindow
Returns:

setText

public ClarionApplication setText(java.lang.String aString)
Set window text

Overrides:
setText in class ClarionWindow
Parameters:
aString -
Returns:

setIcon

public ClarionApplication setIcon(java.lang.String aString)
set window icon

Overrides:
setIcon in class ClarionWindow
Parameters:
aString -
Returns:

setImmediate

public ClarionApplication setImmediate()
If set then following events will be generated Move - window moved Size - window sized restore - window restored maximise - window maximised iconize - window iconized

Overrides:
setImmediate in class ClarionWindow
Returns:

setSystem

public ClarionApplication setSystem()
Allow rendering of window system menu. i.e. top left of window

Overrides:
setSystem in class ClarionWindow
Returns:

setMax

public ClarionApplication setMax()
Display button (on top right) that allows window to be maximised.

Overrides:
setMax in class ClarionWindow
Returns:

setHVScroll

public ClarionApplication setHVScroll()
Allow window to be scrolled

Overrides:
setHVScroll in class ClarionWindow
Returns:

setStatus

public ClarionApplication setStatus(int... bars)
Define status bars for the window on bottom of window

Overrides:
setStatus in class ClarionWindow
Parameters:
bars - - size of the bars
Returns:

clearMetaData

public void clearMetaData()
Overrides:
clearMetaData in class AbstractWindowTarget

getDesktopPane

public javax.swing.JDesktopPane getDesktopPane()

setDesktopPane

public void setDesktopPane(javax.swing.JDesktopPane desktopPane)


Copyright © 2010. All Rights Reserved.