org.stellarium.ui
Class StelUIConf

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by org.stellarium.ui.StelUI
          extended by org.stellarium.ui.StelUIConf
All Implemented Interfaces:
java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener
Direct Known Subclasses:
StelUITuiConf

public abstract class StelUIConf
extends StelUI


Nested Class Summary
 
Nested classes/interfaces inherited from class org.stellarium.ui.StelUI
StelUI.ButtonAction, StelUI.SButton
 
Field Summary
private  javax.swing.JCheckBox constellationBoundariesCbx
           
private  StelLabel landscapeAuthorLabel
           
private  TextLabel landscapeDescriptionLabel
           
private  StringList landscapeSl
           
private  StelListBox languageLb
           
private  StelListBox languageSkyLb
           
private  javax.swing.JLabel meteorlbl
           
(package private)  javax.swing.JRadioButton meteorRate10
           
(package private)  javax.swing.JRadioButton meteorRate10000
           
(package private)  javax.swing.JRadioButton meteorRate144000
           
(package private)  javax.swing.JRadioButton meteorRate80
           
(package private)  LabeledCheckBox meteorRatePerseids
           
private  javax.swing.JList projectionSl
           
private  StelListBox skycultureLb
           
 
Fields inherited from class org.stellarium.ui.StelUI
altIncDec, app, atmosphereAction, atmosphereCbx, azimuthGridAction, azimuthGridCbx, baseCFontName, baseCFontSize, baseFont, baseFontName, baseFontSize, baseTex, btDecTimeSpeed, btFlagAtmosphere, btFlagAzimuthGrid, btFlagCardinals, btFlagChart, btFlagConfig, btFlagConstellationArt, btFlagConstellationDraw, btFlagConstellationName, btFlagCtr, btFlagEquatorGrid, btFlagEquatorialMode, btFlagGoto, btFlagGround, btFlagHelp, btFlagHelpLbl, btFlagNebulaName, btFlagNight, btFlagQuit, btFlagSearch, btFlagTimeControlLbl, btFlipHorz, btFlipVert, btIncTimeSpeed, btRealTimeSpeed, btScript, btTimeControlCtr, btTimeNow, cardinalCbx, cardinalsAction, chartVisionAction, configAction, configTabCtr, configWin, constellation_edit, constellationArtAction, constellationCbx, constellationDrawAction, constellationNameAction, constellationNameCbx, core, courierFont, decimalFormat, decTimeAction, desktop, dialogWin, diskViewportCbx, earthMap, eclipticCbx, equatorCbx, equatorGridAction, equatorGridCbx, equatorialModeAction, fisheyeProjectionCbx, flagConfig, flagEnableTuiMenu, flagHelp, flagInfos, flagMenu, flagScriptsRemoveableDiskMounted, flagSearch, flagShowAppName, flagShowDate, flagShowFov, flagShowFps, flagShowGravityUi, flagShowScriptBar, flagShowSelectedObjectInfo, flagShowTime, flagShowTopBar, flagShowTuiDateTime, flagShowTuiMenu, flagShowTuiShortObjInfo, flipBaseTex, fogCbx, gotoAction, groundAction, groundCbx, guiBaseColor, guiTextColor, hasDragged, helpAction, helpTextLabel, helpWin, horizontalSplitAction, incTimeAction, infoSelectCtr, infoSelectTxtlbl, initialized, isDragging, lastJD, latIncDec, lblMapLocation, lblMapPointer, lblSearchMessage, licenceTxtLbl, licenceWin, longIncDec, maxMagNebulaName, maxMagStarName, messageTxtLbl, moonX4Cbx, mouseCursorTimeout, mouseTimeLeft, nebula_edit, nebulaNameAction, nebulasCbx, nebulasNamesCbx, nebulasNoTextureCbx, nightModeAction, opaqueGUI, planet_edit, planetsCbx, planetsHintsCbx, previousX, previousY, quitAction, realTimeAction, screenSizeSl, scriptDirectoryRead, searchAction, searchWin, selConstellationCbx, star_edit, starNamesCbx, starsCbx, starTwinkleAmount, starTwinkleCbx, systemTzCbx, systemTzLbl2, texDown, texUp, timeCurrent, timeNowAction, timeSpeedLbl2, topBar, topBarAppNameLbl, topBarDateLbl, topBarFOVLbl, topBarFpsLbl, topBarHourLbl, tuiAdminHOffset, tuiAdminLoadDefault, tuiAdminSaveDefault, tuiAdminUpdateMe, tuiAdminVOffset, tuiEffectLandscape, tuiEffectManualZoom, tuiEffectPointObj, tuiEffectZoomDuration, tuiFont, tuiGeneralSkyCulture, tuiGeneralSkyLocale, tuiLocationAltitude, tuiLocationLatitude, tuiLocationLongitude, tuiRoot, tuiScriptsLocal, tuiScriptsRemoveable, tuiStarLabelMaxMag, tuiStarMagScale, tuiStarsShow, tuiStarsTwinkle, tuiTimeDisplayFormat, tuiTimePresetSkyTime, tuiTimeSetTmz, tuiTimeSkyTime, tuiTimeStartupTime, tzSelector, UI_BT, UI_PADDING, UI_SCRIPT_BAR, verticalSplitAction, waitOnLocation
 
Constructor Summary
protected StelUIConf(StelCore someCore, StelApp someApp)
           
 
Method Summary
(package private)  void autoCompleteSearchedObject()
           
(package private) static java.lang.String calculateProjectionSlValue(java.lang.String projectionType, java.lang.String viewportDistorterType)
           
(package private)  void config_win_hideBtCallback()
           
protected  javax.swing.JFrame createConfigWindow()
           
private  javax.swing.JPanel createLocationConfigTab()
           
private  javax.swing.JPanel createRenderConfigTab()
           
(package private)  StellariumComponent createSearchWindow()
           
private  javax.swing.JPanel createTimeConfigTab()
           
private  javax.swing.JPanel createVideoConfigTab()
           
protected  void dialogCallback()
           
(package private)  void doSaveObserverPosition(java.lang.String name)
           
(package private)  void gotoSearchedObject()
           
(package private)  void loadCities(java.lang.String fileName)
           
(package private)  void saveLandscapeOptions()
           
(package private)  void saveLanguageOptions()
           
(package private)  void search_win_hideBtCallback()
           
(package private)  void setAppLanguage()
           
(package private)  void setCityFromMap()
           
(package private)  void setCurrentTimeFromConfig()
           
(package private)  void setLandscape()
           
(package private)  void setObserverPositionFromIncDec()
           
(package private)  void setObserverPositionFromMap()
           
(package private)  void setSkyCulture()
           
(package private)  void setSkyLanguage()
           
(package private)  void setVideoOption()
           
(package private)  void updateConfigForm()
           
(package private)  void updateVideoVariables()
           
 
Methods inherited from class org.stellarium.ui.StelUI
btDecTimeSpeedCb, btIncTimeSpeedCb, btRealTimeSpeedCb, btTimeNowCb, cbEditScriptExecute, cbEditScriptInOut, cbEditScriptKey, createDesktop, createFlagButtons, createHelpWindow, createLicenceWindow, createTimeControlButtons, createTopBar, draw, drawGravityUI, drawTUI, finalize, getEarthMap, getMouseCursorTimeout, getTitleWithAltitude, getTuiFont, guiUpdateWidgets, helpWinHideBtCallback, init_tui, init, isFlagShowScriptBar, isFlagShowSelectedObjectInfo, isFlagShowTuiDateTime, isFlagShowTuiMenu, isFlagShowTuiShortObjInfo, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseMoved, mouseWheelMoved, SDL_ShowCursor, setColorScheme, setFlagShowScriptBar, setFlagShowSelectedObjectInfo, setFlagShowTuiDateTime, setFlagShowTuiMenu, setFlagShowTuiShortObjInfo, setTitleObservatoryName, setTuiFont, showMessage, tui_update_widgets, tuiUpdateIndependentWidgets, updateInfoSelectString, updateTopBar
 
Methods inherited from class java.awt.event.MouseAdapter
mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

languageSkyLb

private StelListBox languageSkyLb

languageLb

private StelListBox languageLb

skycultureLb

private StelListBox skycultureLb

constellationBoundariesCbx

private javax.swing.JCheckBox constellationBoundariesCbx

landscapeSl

private StringList landscapeSl

projectionSl

private javax.swing.JList projectionSl

meteorlbl

private javax.swing.JLabel meteorlbl

meteorRate10

javax.swing.JRadioButton meteorRate10

meteorRate80

javax.swing.JRadioButton meteorRate80

meteorRate10000

javax.swing.JRadioButton meteorRate10000

meteorRate144000

javax.swing.JRadioButton meteorRate144000

meteorRatePerseids

LabeledCheckBox meteorRatePerseids

landscapeAuthorLabel

private StelLabel landscapeAuthorLabel

landscapeDescriptionLabel

private TextLabel landscapeDescriptionLabel
Constructor Detail

StelUIConf

protected StelUIConf(StelCore someCore,
                     StelApp someApp)
              throws StellariumException
Throws:
StellariumException
Method Detail

calculateProjectionSlValue

static java.lang.String calculateProjectionSlValue(java.lang.String projectionType,
                                                   java.lang.String viewportDistorterType)

createConfigWindow

protected javax.swing.JFrame createConfigWindow()
                                         throws StellariumException
Specified by:
createConfigWindow in class StelUI
Throws:
StellariumException

createVideoConfigTab

private javax.swing.JPanel createVideoConfigTab()

createRenderConfigTab

private javax.swing.JPanel createRenderConfigTab()

createLocationConfigTab

private javax.swing.JPanel createLocationConfigTab()

createTimeConfigTab

private javax.swing.JPanel createTimeConfigTab()

dialogCallback

protected void dialogCallback()
Specified by:
dialogCallback in class StelUI

setSkyLanguage

void setSkyLanguage()

setAppLanguage

void setAppLanguage()

setSkyCulture

void setSkyCulture()

loadCities

void loadCities(java.lang.String fileName)

createSearchWindow

StellariumComponent createSearchWindow()
Specified by:
createSearchWindow in class StelUI

autoCompleteSearchedObject

void autoCompleteSearchedObject()
Overrides:
autoCompleteSearchedObject in class StelUI

gotoSearchedObject

void gotoSearchedObject()
Overrides:
gotoSearchedObject in class StelUI

setCurrentTimeFromConfig

void setCurrentTimeFromConfig()

setObserverPositionFromMap

void setObserverPositionFromMap()

setCityFromMap

void setCityFromMap()

setObserverPositionFromIncDec

void setObserverPositionFromIncDec()

doSaveObserverPosition

void doSaveObserverPosition(java.lang.String name)

saveLandscapeOptions

void saveLandscapeOptions()

saveLanguageOptions

void saveLanguageOptions()

setVideoOption

void setVideoOption()
              throws StellariumException
Throws:
StellariumException

setLandscape

void setLandscape()

updateVideoVariables

void updateVideoVariables()

updateConfigForm

void updateConfigForm()
Specified by:
updateConfigForm in class StelUI

config_win_hideBtCallback

void config_win_hideBtCallback()

search_win_hideBtCallback

void search_win_hideBtCallback()
Overrides:
search_win_hideBtCallback in class StelUI