public class GupLosEditor extends JPanel implements de.cismet.cids.tools.metaobjectrenderer.CidsBeanRenderer, de.cismet.cids.editors.EditorSaveListener, de.cismet.tools.gui.TitleComponentProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
GupLosEditor.FieldKind
To choose the type of the additional attribute.
|
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategylistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
GupLosEditor()
Creates new form gup_los.
|
GupLosEditor(boolean readOnly)
Creates new form gup_los.
|
| Modifier and Type | Method and Description |
|---|---|
static Double |
calcMenge(ArrayList bean,
String expression)
DOCUMENT ME!
|
static ArrayList |
convertToList(de.cismet.cids.dynamics.CidsBean massnBean)
This method creates an incomplete list.
|
void |
dispose() |
void |
editorClosed(de.cismet.cids.editors.EditorClosedEvent event) |
static Object |
getAttribute(ArrayList bean,
int number,
GupLosEditor.FieldKind value)
Returns the optional attributes.
|
static String |
getAufmassRegel(de.cismet.cids.dynamics.CidsBean bean)
DOCUMENT ME!
|
de.cismet.cids.dynamics.CidsBean |
getCidsBean() |
static String |
getEinheit(de.cismet.cids.dynamics.CidsBean bean)
DOCUMENT ME!
|
String |
getTitle() |
JComponent |
getTitleComponent() |
static void |
main(String[] args)
only for test purposes.
|
boolean |
prepareForSave() |
static String |
replaceVariablesFromExpression(String ex,
ArrayList valueList)
Replaces all variables of the given expression with the values from the valueList (for filling, see the static
index constants).
|
void |
setCidsBean(de.cismet.cids.dynamics.CidsBean cidsBean) |
void |
setReadOnly()
DOCUMENT ME!
|
void |
setTitle(String title) |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static final int PLANUNGSABSCHNITT_VON
public static final int PLANUNGSABSCHNITT_BIS
public static final int GUP_NAME
public static final int PLANUNGSABSCHNITT_NAME
public static final int MASSNAHMENART_NAME
public static final int MASSNAHMENBEZUG
public static final int MASSNAHME_VON
public static final int MASSNAHME_BIS
public static final int RANDSTREIFENBREITE
public static final int BOESCHUNGSNEIGUNG
public static final int BOESCHUNGSLAENGE
public static final int DEICHKRONENBREITE
public static final int SOHLBREITE
public static final int VORLANDBREITE
public static final int CBMPROM
public static final int STUECK
public static final int STUNDEN
public static final int SCHNITTTIEFE
public static final int TEILLAENGE
public static final int QM
public static final int CBM
public static final int ARBEITSBREITE
public static final int MASSNAHMENART_ID
public static final int LEISTUNGSTEXT
public static final int AUFMASS_REGEL
public static final int EINHEIT
public static final int UM_ID
public static final int PL_ID
public static final int GUP_ID
public static final int GWK
public static final int MASSNAHMEN_ID
public static final int BEAN
public static final int GROUP_MASSN_TYP
public static final int GROUP_TEILSTUECKE
public static final int GROUP_LAENGE
public static final int GROUP_AUFMASS
public static final int GROUP_MASSEINHEIT
public static final int GROUP_ID
public static final int GROUP_LEISTUNGSTEXT
public static final int GROUP_AUFMASSREGEL
public static final int GROUP_EINHEIT
public static final int GROUP_MASSN_ID
public static final String[] ADDITIONAL_ATTRIBUTES
public static final String[] ADDITIONAL_ATTRIBUTE_MEASURES
public GupLosEditor()
public GupLosEditor(boolean readOnly)
readOnly - DOCUMENT ME!public de.cismet.cids.dynamics.CidsBean getCidsBean()
getCidsBean in interface de.cismet.cids.dynamics.CidsBeanStorepublic void setCidsBean(de.cismet.cids.dynamics.CidsBean cidsBean)
setCidsBean in interface de.cismet.cids.dynamics.CidsBeanStorepublic static ArrayList convertToList(de.cismet.cids.dynamics.CidsBean massnBean)
massnBean - DOCUMENT ME!public static String getAufmassRegel(de.cismet.cids.dynamics.CidsBean bean)
bean - DOCUMENT ME!public static String getEinheit(de.cismet.cids.dynamics.CidsBean bean)
bean - DOCUMENT ME!public static Double calcMenge(ArrayList bean, String expression) throws Exception
bean - DOCUMENT ME!expression - DOCUMENT ME!Exception - DOCUMENT ME!public static String replaceVariablesFromExpression(String ex, ArrayList valueList)
ex - the expressionvalueList - the list with the values or null, if default values should be usedpublic void setReadOnly()
public void dispose()
dispose in interface de.cismet.cids.dynamics.Disposablepublic String getTitle()
getTitle in interface de.cismet.cids.tools.metaobjectrenderer.Titledpublic void setTitle(String title)
setTitle in interface de.cismet.cids.tools.metaobjectrenderer.Titledpublic void editorClosed(de.cismet.cids.editors.EditorClosedEvent event)
editorClosed in interface de.cismet.cids.editors.EditorSaveListenerpublic boolean prepareForSave()
prepareForSave in interface de.cismet.cids.editors.EditorSaveListenerpublic static void main(String[] args) throws Exception
args - DOCUMENT ME!Exception - DOCUMENT ME!public JComponent getTitleComponent()
getTitleComponent in interface de.cismet.tools.gui.TitleComponentProviderpublic static Object getAttribute(ArrayList bean, int number, GupLosEditor.FieldKind value)
bean - the object, the attribute should be determined fromnumber - The number of the attributevalue - true, if the value of the attribute should be determined. Otherwise the name of the attribute is
determined.Copyright © 2012–2026 cismet GmbH. All rights reserved.