link start!
@@ -0,0 +1,7 @@
|
||||
package com.tridium.ui;
|
||||
|
||||
import javax.baja.ui.text.Position;
|
||||
|
||||
public interface CaretTracker {
|
||||
void caretMoved(Position position);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.tridium.ui;
|
||||
|
||||
public interface DialogPeer extends WindowPeer {
|
||||
String getTitle();
|
||||
|
||||
boolean isModal();
|
||||
|
||||
boolean isResizable();
|
||||
|
||||
void setModal(boolean z);
|
||||
|
||||
void setResizable(boolean z);
|
||||
|
||||
void setTitle(String str);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.tridium.ui;
|
||||
|
||||
import javax.baja.gx.BImage;
|
||||
|
||||
public interface FramePeer extends WindowPeer {
|
||||
BImage getIconGxImage();
|
||||
|
||||
String getTitle();
|
||||
|
||||
void setIconGxImage(BImage bImage);
|
||||
|
||||
void setTitle(String str);
|
||||
|
||||
void setUndecorated(boolean z);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.tridium.ui;
|
||||
|
||||
import com.tridium.ui.ShellManager.DebugShell;
|
||||
import javax.baja.naming.BOrd;
|
||||
|
||||
public interface NiagaraWbShell extends DebugShell {
|
||||
void hyperlink(BOrd bOrd);
|
||||
|
||||
void updateTransferWidgetStates();
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package com.tridium.ui;
|
||||
|
||||
import javax.baja.gx.Point;
|
||||
import javax.baja.ui.BWidget;
|
||||
import javax.baja.ui.event.BMouseEvent;
|
||||
import javax.baja.ui.transfer.BTransferWidget;
|
||||
import javax.baja.ui.transfer.DragRenderer;
|
||||
import javax.baja.ui.transfer.TransferContext;
|
||||
|
||||
public interface ShellManager {
|
||||
|
||||
public interface DebugShell {
|
||||
void debug();
|
||||
}
|
||||
|
||||
public interface ShellPeerFactory {
|
||||
ShellPeer newShellPeer();
|
||||
}
|
||||
|
||||
void activate();
|
||||
|
||||
void checkMouseOver();
|
||||
|
||||
void deactivate();
|
||||
|
||||
boolean enqueueRelayout(BWidget bWidget);
|
||||
|
||||
void enterBusy(BWidget bWidget);
|
||||
|
||||
void exitBusy(BWidget bWidget);
|
||||
|
||||
BWidget getCurrentFocus();
|
||||
|
||||
BWidget getShell();
|
||||
|
||||
ShellPeer getShellPeer();
|
||||
|
||||
boolean hasFocus(BWidget bWidget);
|
||||
|
||||
boolean isDesignTime();
|
||||
|
||||
void relayout(BWidget bWidget, boolean z);
|
||||
|
||||
void repaint();
|
||||
|
||||
void repaint(BWidget bWidget, int i, int i2, int i3, int i4);
|
||||
|
||||
void requestFocus(BWidget bWidget);
|
||||
|
||||
void resetHover(BWidget bWidget);
|
||||
|
||||
void startDragOperation(BTransferWidget bTransferWidget, BMouseEvent bMouseEvent, TransferContext transferContext, DragRenderer dragRenderer);
|
||||
|
||||
Point translateToScreen(BWidget bWidget, Point point);
|
||||
|
||||
void updateMouseCursor();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.tridium.ui;
|
||||
|
||||
import javax.baja.gx.IRectGeom;
|
||||
|
||||
public interface ShellPeer {
|
||||
IRectGeom getScreenBounds();
|
||||
|
||||
void installShellManager(ShellManager shellManager);
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.tridium.ui;
|
||||
|
||||
import javax.baja.gx.IRectGeom;
|
||||
|
||||
public interface WindowPeer extends ShellPeer {
|
||||
void close();
|
||||
|
||||
IRectGeom getScreenBounds();
|
||||
|
||||
boolean isShowing();
|
||||
|
||||
void open();
|
||||
|
||||
void setScreenBounds(double d, double d2, double d3, double d4);
|
||||
|
||||
void toBack();
|
||||
|
||||
void toFront();
|
||||
}
|
||||
|
After Width: | Height: | Size: 982 B |
|
After Width: | Height: | Size: 941 B |
|
After Width: | Height: | Size: 939 B |
|
After Width: | Height: | Size: 939 B |
|
After Width: | Height: | Size: 932 B |
|
After Width: | Height: | Size: 949 B |
|
After Width: | Height: | Size: 933 B |
|
After Width: | Height: | Size: 929 B |
|
After Width: | Height: | Size: 933 B |
|
After Width: | Height: | Size: 288 B |
|
After Width: | Height: | Size: 956 B |
|
After Width: | Height: | Size: 954 B |
|
After Width: | Height: | Size: 886 B |
@@ -0,0 +1,73 @@
|
||||
<!-- US-Standard keyboard layout -->
|
||||
<keyboard>
|
||||
<row>
|
||||
<key code='192' normal='`' shift='~' />
|
||||
<key code='49' normal='1' shift='!' />
|
||||
<key code='50' normal='2' shift='@' />
|
||||
<key code='51' normal='3' shift='#' />
|
||||
<key code='52' normal='4' shift='$' />
|
||||
<key code='53' normal='5' shift='%' />
|
||||
<key code='54' normal='6' shift='^' />
|
||||
<key code='55' normal='7' shift='&' />
|
||||
<key code='56' normal='8' shift='*' />
|
||||
<key code='57' normal='9' shift='(' />
|
||||
<key code='58' normal='0' shift=')' />
|
||||
<key code='45' normal='-' shift='_' />
|
||||
<key code='61' normal='=' shift='+' />
|
||||
<key code='8' normal='' label='Backspace' />
|
||||
</row>
|
||||
<row>
|
||||
<key code='9' normal='	' label='Tab' />
|
||||
<key code='81' normal='q' shift='Q' />
|
||||
<key code='87' normal='w' shift='W' />
|
||||
<key code='69' normal='e' shift='E' />
|
||||
<key code='82' normal='r' shift='R' />
|
||||
<key code='84' normal='t' shift='T' />
|
||||
<key code='89' normal='y' shift='Y' />
|
||||
<key code='85' normal='u' shift='U' />
|
||||
<key code='73' normal='i' shift='I' />
|
||||
<key code='79' normal='o' shift='O' />
|
||||
<key code='80' normal='p' shift='P' />
|
||||
<key code='91' normal='[' shift='{' />
|
||||
<key code='92' normal=']' shift='}' />
|
||||
<key code='93' normal='\' shift='|' />
|
||||
</row>
|
||||
<row>
|
||||
<key code='65' normal='a' shift='A' />
|
||||
<key code='83' normal='s' shift='S' />
|
||||
<key code='68' normal='d' shift='D' />
|
||||
<key code='70' normal='f' shift='F' />
|
||||
<key code='71' normal='g' shift='G' />
|
||||
<key code='72' normal='h' shift='H' />
|
||||
<key code='74' normal='j' shift='J' />
|
||||
<key code='75' normal='k' shift='K' />
|
||||
<key code='76' normal='l' shift='L' />
|
||||
<key code='59' normal=';' shift=':' />
|
||||
<key code='222' normal=''' shift='"' /> <!-- Single/Double Quote -->
|
||||
<key code='10' normal=' ' label='Enter' />
|
||||
</row>
|
||||
<row>
|
||||
<key code='90' normal='z' shift='Z' />
|
||||
<key code='88' normal='x' shift='X' />
|
||||
<key code='67' normal='c' shift='C' />
|
||||
<key code='86' normal='v' shift='V' />
|
||||
<key code='66' normal='b' shift='B' />
|
||||
<key code='78' normal='n' shift='N' />
|
||||
<key code='77' normal='m' shift='M' />
|
||||
<key code='44' normal=',' shift='<' />
|
||||
<key code='46' normal='.' shift='>' />
|
||||
<key code='47' normal='/' shift='?' />
|
||||
<key code='16' normal='' label='Shift' />
|
||||
</row>
|
||||
<row>
|
||||
<key code='32' normal=' ' label='Space' />
|
||||
<!--<key code='18' normal='' label='Alt' />-->
|
||||
<key code='38' normal='&' label='Up' />
|
||||
<key code='40' normal='(' label='Down' />
|
||||
<key code='37' normal='%' label='Left' />
|
||||
<key code='39' normal=''' label='Right' />
|
||||
<key code='127' normal='' label='Del' />
|
||||
</row>
|
||||
</keyboard>
|
||||
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<!-- US-Numeric keypad layout -->
|
||||
<keyboard>
|
||||
<row>
|
||||
<key code='49' normal='1'/>
|
||||
<key code='50' normal='2'/>
|
||||
<key code='51' normal='3'/>
|
||||
<key code='45' normal='-'/>
|
||||
</row>
|
||||
<row>
|
||||
<key code='52' normal='4'/>
|
||||
<key code='53' normal='5'/>
|
||||
<key code='54' normal='6'/>
|
||||
<key code='69' normal='E'/>
|
||||
</row>
|
||||
<row>
|
||||
<key code='55' normal='7'/>
|
||||
<key code='56' normal='8'/>
|
||||
<key code='57' normal='9'/>
|
||||
<key code='9' normal='9' label=" "/> <!-- blank -->
|
||||
</row>
|
||||
<row>
|
||||
<key code='9' normal='9' label=" "/> <!-- blank -->
|
||||
<key code='58' normal='0'/>
|
||||
<key code='46' normal='.'/>
|
||||
<key code='9' normal='9' label=" "/> <!-- blank -->
|
||||
</row>
|
||||
<row />
|
||||
<row>
|
||||
<key code='37' normal='%' label="left"/>
|
||||
<key code='39' normal=''' label="right"/>
|
||||
<key code='8' normal='' label='Backspace'/>
|
||||
</row>
|
||||
</keyboard>
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.gx.IInsets;
|
||||
import javax.baja.gx.IPoint;
|
||||
import javax.baja.ui.BAbstractButton;
|
||||
|
||||
public interface AbstractButtonTheme extends LabelTheme {
|
||||
IPoint getLabelOffset(BAbstractButton bAbstractButton);
|
||||
|
||||
double getMenuWidth();
|
||||
|
||||
IInsets getPadding(BAbstractButton bAbstractButton);
|
||||
|
||||
void paintBackground(Graphics graphics, BAbstractButton bAbstractButton);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.ui.pane.BBorderPane;
|
||||
|
||||
public interface BorderPaneTheme extends PaneTheme {
|
||||
double getWidth();
|
||||
|
||||
void paintBorder(Graphics graphics, BBorderPane bBorderPane, double d, double d2, double d3, double d4, double d5, double d6);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
public interface ButtonTheme extends AbstractButtonTheme {
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
public interface CheckBoxTheme extends ToggleButtonTheme {
|
||||
int getCheckBoxSize();
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BBrush;
|
||||
import javax.baja.gx.BInsets;
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.gx.RectGeom;
|
||||
import javax.baja.ui.BWidget;
|
||||
|
||||
public interface DropDownTheme extends WidgetTheme {
|
||||
BInsets getBorderInsets();
|
||||
|
||||
BBrush getDisabledBackgroundBrush(BWidget bWidget);
|
||||
|
||||
void paintBackground(Graphics graphics, BWidget bWidget);
|
||||
|
||||
void paintBorder(Graphics graphics, BWidget bWidget);
|
||||
|
||||
void paintBorder(Graphics graphics, BWidget bWidget, double d, double d2, double d3, double d4);
|
||||
|
||||
void paintButton(Graphics graphics, BWidget bWidget, RectGeom rectGeom, boolean z);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.gx.RectGeom;
|
||||
import javax.baja.ui.BWidget;
|
||||
|
||||
public interface ExpandablePaneTheme extends PaneTheme {
|
||||
double getExpanderWidth();
|
||||
|
||||
void paintButton(Graphics graphics, BWidget bWidget, RectGeom rectGeom, boolean z, boolean z2);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BBrush;
|
||||
import javax.baja.ui.pane.BGridPane;
|
||||
|
||||
public interface GridPaneTheme extends WidgetTheme {
|
||||
BBrush getBandBrush(BGridPane bGridPane);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BImage;
|
||||
import javax.baja.ui.BLabel;
|
||||
|
||||
public interface LabelTheme extends WidgetTheme {
|
||||
BImage getIcon(BLabel bLabel);
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BBrush;
|
||||
import javax.baja.gx.BFont;
|
||||
import javax.baja.gx.BInsets;
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.gx.Point;
|
||||
import javax.baja.gx.RectGeom;
|
||||
import javax.baja.ui.BMenuBar;
|
||||
|
||||
public interface MenuBarTheme extends WidgetTheme {
|
||||
public static final int DEFAULT = 0;
|
||||
public static final int MOUSE_OVER = 1;
|
||||
public static final int SELECTED = 2;
|
||||
|
||||
BInsets getBarInsets();
|
||||
|
||||
BFont getItemFont(BMenuBar bMenuBar);
|
||||
|
||||
BInsets getItemInsets();
|
||||
|
||||
BBrush getItemTextBrush(int i, BMenuBar bMenuBar);
|
||||
|
||||
Point getItemTextOffset(int i);
|
||||
|
||||
void paintBackground(Graphics graphics, BMenuBar bMenuBar);
|
||||
|
||||
void paintItemBackground(Graphics graphics, BMenuBar bMenuBar, RectGeom rectGeom, int i);
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BBrush;
|
||||
import javax.baja.gx.BFont;
|
||||
import javax.baja.gx.BInsets;
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.ui.BCheckBoxMenuItem;
|
||||
import javax.baja.ui.BMenuItem;
|
||||
import javax.baja.ui.BRadioButtonMenuItem;
|
||||
|
||||
public interface MenuItemTheme extends WidgetTheme {
|
||||
BBrush getAcceleratorBrush();
|
||||
|
||||
BFont getAcceleratorFont();
|
||||
|
||||
double getIconIndent();
|
||||
|
||||
BInsets getInsets();
|
||||
|
||||
void paintBackground(Graphics graphics, BMenuItem bMenuItem, boolean z);
|
||||
|
||||
void paintCheckBox(Graphics graphics, BCheckBoxMenuItem bCheckBoxMenuItem, boolean z);
|
||||
|
||||
void paintRadioBox(Graphics graphics, BRadioButtonMenuItem bRadioButtonMenuItem, boolean z);
|
||||
|
||||
void paintSubMenuArrow(Graphics graphics, BMenuItem bMenuItem, boolean z);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BInsets;
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.ui.BMenu;
|
||||
|
||||
public interface MenuTheme extends WidgetTheme {
|
||||
float getFrameOpacity();
|
||||
|
||||
BInsets getInsets();
|
||||
|
||||
void paintBackground(Graphics graphics, BMenu bMenu);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.ui.pane.BPane;
|
||||
|
||||
public interface PaneTheme extends WidgetTheme {
|
||||
void paintBackground(Graphics graphics, BPane bPane);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
public interface PathBarTheme extends WidgetTheme {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
public interface ProgressBarTheme extends WidgetTheme {
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BBrush;
|
||||
import javax.baja.ui.style.IStylable;
|
||||
|
||||
public interface PropertySheetTreeTheme extends TreeTheme {
|
||||
BBrush getDividerColor(IStylable iStylable);
|
||||
|
||||
BBrush getHeaderBackground(IStylable iStylable);
|
||||
|
||||
BBrush getHeaderColor(IStylable iStylable);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
public interface RadioButtonTheme extends ToggleButtonTheme {
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.gx.RectGeom;
|
||||
import javax.baja.ui.BScrollBar;
|
||||
|
||||
public interface ScrollBarTheme extends WidgetTheme {
|
||||
public static final int DOWN = 1;
|
||||
public static final int LEFT = 2;
|
||||
public static final int RIGHT = 3;
|
||||
public static final int UP = 0;
|
||||
|
||||
double getFixedWidth();
|
||||
|
||||
void paintButton(Graphics graphics, BScrollBar bScrollBar, RectGeom rectGeom, int i, boolean z);
|
||||
|
||||
void paintThumb(Graphics graphics, BScrollBar bScrollBar, RectGeom rectGeom);
|
||||
|
||||
void paintTrack(Graphics graphics, BScrollBar bScrollBar, RectGeom rectGeom);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BInsets;
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.ui.BWidget;
|
||||
|
||||
public interface ScrollPaneTheme extends PaneTheme {
|
||||
BInsets getInsets();
|
||||
|
||||
void paintBorder(Graphics graphics, BWidget bWidget);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.ui.BSeparator;
|
||||
|
||||
public interface SeparatorTheme extends WidgetTheme {
|
||||
double getFixedWidth(BSeparator bSeparator);
|
||||
|
||||
void paintSeparator(Graphics graphics, BSeparator bSeparator);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.gx.RectGeom;
|
||||
import javax.baja.ui.BSlider;
|
||||
|
||||
public interface SliderTheme extends WidgetTheme {
|
||||
double getFixedWidth(BSlider bSlider);
|
||||
|
||||
double getThumbWidth(BSlider bSlider);
|
||||
|
||||
void paintThumb(Graphics graphics, BSlider bSlider, RectGeom rectGeom);
|
||||
|
||||
void paintTrack(Graphics graphics, BSlider bSlider, RectGeom rectGeom);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.gx.IPoint;
|
||||
import javax.baja.ui.BAbstractButton;
|
||||
|
||||
public interface SpinnerButtonTheme extends WidgetTheme {
|
||||
IPoint getLabelOffset(BAbstractButton bAbstractButton);
|
||||
|
||||
double getSpinnerWidth();
|
||||
|
||||
boolean isStacked();
|
||||
|
||||
void paintArrows(Graphics graphics, BAbstractButton bAbstractButton, BAbstractButton bAbstractButton2, boolean z, boolean z2);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.gx.RectGeom;
|
||||
import javax.baja.ui.pane.BSplitPane;
|
||||
|
||||
public interface SplitPaneTheme extends PaneTheme {
|
||||
void paintDivider(Graphics graphics, BSplitPane bSplitPane, RectGeom rectGeom, boolean z, boolean z2);
|
||||
|
||||
void paintFocus(Graphics graphics, RectGeom rectGeom);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BInsets;
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.ui.BLabel;
|
||||
import javax.baja.ui.BWidget;
|
||||
import javax.baja.ui.enums.BAlign;
|
||||
import javax.baja.ui.pane.BTabbedPane;
|
||||
|
||||
public interface TabbedPaneTheme extends WidgetTheme {
|
||||
BInsets getContentInsets(BAlign bAlign, boolean z);
|
||||
|
||||
BInsets getTabInsets(BAlign bAlign);
|
||||
|
||||
void paintContentBackground(Graphics graphics, BTabbedPane bTabbedPane, BAlign bAlign, BWidget bWidget, boolean z);
|
||||
|
||||
void paintTabBackground(Graphics graphics, BTabbedPane bTabbedPane, BAlign bAlign, BLabel bLabel, boolean z, BWidget bWidget, boolean z2);
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BBrush;
|
||||
import javax.baja.gx.BFont;
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.ui.BWidget;
|
||||
import javax.baja.ui.style.IStylable;
|
||||
import javax.baja.ui.table.TableHeaderRenderer.Header;
|
||||
|
||||
public interface TableTheme extends WidgetTheme {
|
||||
BBrush getBandBrush();
|
||||
|
||||
BBrush getBandBrush(IStylable iStylable);
|
||||
|
||||
BFont getCellFont();
|
||||
|
||||
BFont getCellFont(IStylable iStylable);
|
||||
|
||||
double getCellHeight();
|
||||
|
||||
BBrush getCellTextBrush();
|
||||
|
||||
BBrush getGridBrush();
|
||||
|
||||
BBrush getGridBrush(IStylable iStylable);
|
||||
|
||||
BFont getHeaderFont();
|
||||
|
||||
BBrush getHeaderTextBrush();
|
||||
|
||||
double getSortIconWidth();
|
||||
|
||||
void paintBackground(Graphics graphics, BWidget bWidget);
|
||||
|
||||
void paintHeaderBackground(Graphics graphics, Header header, BBrush bBrush);
|
||||
|
||||
void paintSortIcon(Graphics graphics, Header header, boolean z);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
public interface TextEditorPaneTheme extends ScrollPaneTheme {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BBrush;
|
||||
import javax.baja.gx.BFont;
|
||||
import javax.baja.ui.style.IStylable;
|
||||
import javax.baja.ui.text.BTextEditor;
|
||||
|
||||
public interface TextEditorTheme extends WidgetTheme {
|
||||
BBrush getDisabledTextBrush();
|
||||
|
||||
BBrush getDisabledTextBrush(IStylable iStylable);
|
||||
|
||||
BFont getFont();
|
||||
|
||||
BBrush getTextBackground(BTextEditor bTextEditor);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BInsets;
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.ui.BWidget;
|
||||
|
||||
public interface TextFieldTheme extends TextEditorTheme {
|
||||
BInsets getInsets();
|
||||
|
||||
void paintBorder(Graphics graphics, BWidget bWidget, double d, double d2);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
public interface TitlePaneTheme extends PaneTheme {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
public interface ToggleButtonTheme extends AbstractButtonTheme {
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BInsets;
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.ui.BToolBar;
|
||||
|
||||
public interface ToolBarTheme extends WidgetTheme {
|
||||
double getGap();
|
||||
|
||||
BInsets getInsets();
|
||||
|
||||
double getScrollSpeed();
|
||||
|
||||
void paintBackground(Graphics graphics, BToolBar bToolBar);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BBrush;
|
||||
import javax.baja.gx.BFont;
|
||||
import javax.baja.ui.style.IStylable;
|
||||
|
||||
public interface ToolPaneTheme extends PaneTheme {
|
||||
BBrush getBackground(IStylable iStylable, boolean z);
|
||||
|
||||
BBrush getForeground(IStylable iStylable, boolean z);
|
||||
|
||||
BFont getHeaderFont(IStylable iStylable, boolean z);
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BBrush;
|
||||
import javax.baja.gx.Graphics;
|
||||
|
||||
public interface TreeTableTheme extends TableTheme {
|
||||
public static final int COLLAPSED = 1;
|
||||
public static final int EMPTY = 0;
|
||||
public static final int EXPANDED = 2;
|
||||
|
||||
double getExpanderHeight();
|
||||
|
||||
double getExpanderWidth();
|
||||
|
||||
BBrush getGroupBackground();
|
||||
|
||||
double getIndent(int i);
|
||||
|
||||
void paintExpander(Graphics graphics, double d, double d2, boolean z, int i, boolean z2);
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BBrush;
|
||||
import javax.baja.gx.BFont;
|
||||
import javax.baja.gx.BInsets;
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.ui.BWidget;
|
||||
|
||||
public interface TreeTheme extends WidgetTheme {
|
||||
public static final int COLLAPSED = 2;
|
||||
public static final int EMPTY = 0;
|
||||
public static final int EXPANDED = 1;
|
||||
|
||||
BBrush getBackground(BWidget bWidget);
|
||||
|
||||
BBrush getConnectingBrush(BWidget bWidget);
|
||||
|
||||
double getExpanderHeight();
|
||||
|
||||
double getExpanderWidth();
|
||||
|
||||
BFont getFont(BWidget bWidget);
|
||||
|
||||
BBrush getForeground(BWidget bWidget);
|
||||
|
||||
BInsets getInsets();
|
||||
|
||||
BInsets getInsets(BWidget bWidget);
|
||||
|
||||
boolean inExpander(double d, double d2, double d3, double d4);
|
||||
|
||||
void paintExpander(Graphics graphics, BWidget bWidget, double d, double d2, boolean z);
|
||||
|
||||
void paintExpander(Graphics graphics, BWidget bWidget, double d, double d2, boolean z, boolean z2);
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BBrush;
|
||||
import javax.baja.gx.BFont;
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.gx.RectGeom;
|
||||
import javax.baja.ui.style.IStylable;
|
||||
|
||||
public interface WidgetTheme {
|
||||
BFont getBoldText();
|
||||
|
||||
BFont getBoldText(IStylable iStylable);
|
||||
|
||||
BBrush getControlAuxiliary();
|
||||
|
||||
BBrush getControlAuxiliary(IStylable iStylable);
|
||||
|
||||
BBrush getControlBackground();
|
||||
|
||||
BBrush getControlBackground(IStylable iStylable);
|
||||
|
||||
BBrush getControlForeground();
|
||||
|
||||
BBrush getControlForeground(IStylable iStylable);
|
||||
|
||||
BBrush getControlHighlight();
|
||||
|
||||
BBrush getControlHighlight(IStylable iStylable);
|
||||
|
||||
BBrush getControlShadow();
|
||||
|
||||
BBrush getControlShadow(IStylable iStylable);
|
||||
|
||||
BBrush getDropOkBackground();
|
||||
|
||||
BBrush getDropOkBackground(IStylable iStylable);
|
||||
|
||||
BBrush getDropOkForeground();
|
||||
|
||||
BBrush getDropOkForeground(IStylable iStylable);
|
||||
|
||||
BFont getFixedWidthBoldFont();
|
||||
|
||||
BFont getFixedWidthBoldFont(IStylable iStylable);
|
||||
|
||||
BFont getFixedWidthFont();
|
||||
|
||||
BFont getFixedWidthFont(IStylable iStylable);
|
||||
|
||||
BFont getLargeBoldFont();
|
||||
|
||||
BFont getLargeBoldFont(IStylable iStylable);
|
||||
|
||||
BFont getLargeFont();
|
||||
|
||||
BFont getLargeFont(IStylable iStylable);
|
||||
|
||||
BBrush getSelectionBackground();
|
||||
|
||||
BBrush getSelectionBackground(IStylable iStylable);
|
||||
|
||||
BBrush getSelectionForeground();
|
||||
|
||||
BBrush getSelectionForeground(IStylable iStylable);
|
||||
|
||||
BBrush getTextBrush();
|
||||
|
||||
BBrush getTextBrush(IStylable iStylable);
|
||||
|
||||
BBrush getTextDisabled();
|
||||
|
||||
BBrush getTextDisabled(IStylable iStylable);
|
||||
|
||||
BFont getTextFont();
|
||||
|
||||
BFont getTextFont(IStylable iStylable);
|
||||
|
||||
BBrush getWindowBackground();
|
||||
|
||||
BBrush getWindowBackground(IStylable iStylable);
|
||||
|
||||
BBrush getWindowForeground();
|
||||
|
||||
BBrush getWindowForeground(IStylable iStylable);
|
||||
|
||||
void paintDisabledText(Graphics graphics, String str, double d, double d2);
|
||||
|
||||
void paintDisabledText(Graphics graphics, IStylable iStylable, String str, double d, double d2);
|
||||
|
||||
void paintFocus(Graphics graphics, RectGeom rectGeom);
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package com.tridium.ui.theme;
|
||||
|
||||
import javax.baja.gx.BBrush;
|
||||
import javax.baja.gx.BFont;
|
||||
import javax.baja.ui.style.IStylable;
|
||||
|
||||
public interface WiresheetTheme {
|
||||
|
||||
public interface Canvas {
|
||||
BBrush getBackground(IStylable iStylable);
|
||||
|
||||
BBrush getGridColor(IStylable iStylable);
|
||||
|
||||
BBrush getOutline(IStylable iStylable);
|
||||
}
|
||||
|
||||
public interface Glyph {
|
||||
BBrush getBackground(IStylable iStylable);
|
||||
|
||||
BFont getFont(IStylable iStylable);
|
||||
|
||||
BBrush getFontColor(IStylable iStylable);
|
||||
|
||||
BBrush getOutline(IStylable iStylable);
|
||||
|
||||
BBrush getSelectionBackground(IStylable iStylable);
|
||||
|
||||
BBrush getSelectionForeground(IStylable iStylable);
|
||||
|
||||
BFont getSubtitleFont(IStylable iStylable);
|
||||
|
||||
BFont getTitleFont(IStylable iStylable);
|
||||
}
|
||||
|
||||
public interface Thumbnail {
|
||||
BBrush getBackground(IStylable iStylable);
|
||||
|
||||
BBrush getForeground(IStylable iStylable);
|
||||
|
||||
BBrush getOutline(IStylable iStylable);
|
||||
}
|
||||
|
||||
Canvas canvas();
|
||||
|
||||
Glyph glyph();
|
||||
|
||||
Thumbnail thumbnail();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.tridium.ui.wizard.step;
|
||||
|
||||
public interface ICommitLog {
|
||||
void log(String str);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.tridium.ui.wizard.step;
|
||||
|
||||
import javax.baja.ui.BWidget;
|
||||
|
||||
public interface IWidgetWizardView extends IWizardView {
|
||||
BWidget getOwner();
|
||||
|
||||
BWidget getWizardContent();
|
||||
|
||||
BWidget getWizardHeader();
|
||||
|
||||
void setWizardContent(BWidget bWidget);
|
||||
|
||||
void setWizardHeader(BWidget bWidget);
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.tridium.ui.wizard.step;
|
||||
|
||||
import javax.baja.sys.BComponent;
|
||||
import javax.baja.sys.Context;
|
||||
|
||||
public interface IWizardView {
|
||||
BComponent getBase();
|
||||
|
||||
Context getWizardContext();
|
||||
|
||||
void handleError(Throwable th);
|
||||
|
||||
void update(BWizardButtonMode bWizardButtonMode);
|
||||
}
|
||||